Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Native library path not working in tomcat (eclipse not building java.library.path for tomcat application)
Native library path not working in tomcat [message #1795077] Fri, 14 September 2018 07:10
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?
Previous Topic:Add a local server to Eclipse
Next Topic:Dali: JPA 2.1 validation mark NamedQuery as error, but the query works
Goto Forum:

Current Time: Sun Sep 20 05:30:49 GMT 2020

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

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

Back to the top