In my case, java.library.path is null for both the standalone and service
modes of Tomcat.
It seems that when TC's running as a service, it ignores the drive prefix
on the windows PATH. The DLLs were on drive D: and even though that's what
was in the PATH, they still couldn't be found. I was
For JNI the dlls need to be in the VM's java.library.path . This is
usually set when the vm is started on the command line with something
like -Djava.library.path="C:\my dll folder" . I have no idea where you
set this for tomcat, and I don't think you can set it in java either.
Jon M
-Origina