DLL with Tomcat
843836Mar 9 2005 — edited Mar 9 2005Hi,
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