Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Native library path not working in tomcat(eclipse not building java.library.path for tomcat application)
Native library path not working in tomcat [message #1795038] Thu, 13 September 2018 09:46 Go to next message
santhoshkumar s is currently offline santhoshkumar sFriend
Messages: 2
Registered: September 2018
Junior Member
I am using eclipse photon for JEE developers. I have added Apache tomcat 8.5.32 in the servers. My web application requires a native library named jpostal.

I have added the jpostal.jar as a user library along with the jpostal native library path. I have Included the user library in Deployment assembly.

When I start the tomcat, I am getting java.lang.UnsatisfiedLinkError: no jpostal_parser in java.library.path.

If I add the -Djava.library.path=jpostal/path in tomcat run configurations, it works without any problems. Should eclipse construct the java.library.path on its own right?
Re: Native library path not working in tomcat [message #1795056 is a reply to message #1795038] Thu, 13 September 2018 17:03 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
It would be better to post to the https://www.eclipse.org/forums/eclipse.webtools forum.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:JUnit-Tests using Mockito fail when running all of them
Next Topic:Can't see custom warnings in eclipse
Goto Forum:
  


Current Time: Wed Sep 25 17:43:27 GMT 2024

Powered by FUDForum. Page generated in 0.05337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top