Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DLL with Tomcat

843836Mar 9 2005 — edited Mar 9 2005
Hi,

I want to be able to load a .dll library using JNI from a Servlet running
under Tomcat. The problem is that the system seems to use the
system %PATH% as the java.library.path property when searching for .dll's.
I'd like to be able to tell it that for this webapp it should look in
./WEB-INF/lib instead.

How can I start Tomcat (or preferably just this one webapp) with a different
java.library.path specified?or are there any other solutions?

thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2005
Added on Mar 9 2005
2 comments
234 views