Specify through the JVM command line the location where to find the JNI DLL to be loaded : JNI « Development Class « Java






Specify through the JVM command line the location where to find the JNI DLL to be loaded

 

java -Djava.library.path=c:/JNI

   
  








Related examples in the same category

1.Create Simplest JNI C method
2.Create JNI C method
3.format a string containing a printf format specifier with JNI
4.Using JNIEnv
5.Deal with Unicode
6.Passing parameter back and forth
7.Load a DLL
8.If the DLL is in the CLASSPATH then you don't need to specify a PATH.
9.JNI example 2
10.JNI example
11.Java Native Interface Demo