Load a DLL : JNI « Development Class « Java






Load a DLL

 

System.loadLibrary("d:\\directoryX\\subDirY\\MyDll.dll")

   
  








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.If the DLL is in the CLASSPATH then you don't need to specify a PATH.
8.Specify through the JVM command line the location where to find the JNI DLL to be loaded
9.JNI example 2
10.JNI example
11.Java Native Interface Demo