Share this page 

Load a DLLTag(s): JNI

[pre JDK1.2]
In JDK1.2 (or better), if the DLL is in the CLASSPATH then you don't need to specify a PATH. If the DLL is not in the CLASSPATH then you need to specify the PATH.

Do something like this instead.

or specify through the JVM command line the location where to find the JNI DLL to be loaded
java -Djava.library.path=c:/temp JNIJavaHowTo