10 likes | 137 Views
JavaDriverJNI.java. JavaDriverJNI.class. JavaDriverJNI.h. Write Java Code editor (.java). 2. Compile JavaDriverJNI javac. 3. Java Header File javah -jni. Use: jni.h stdio.h. 6. Run/Test/Debug using JMV. 5. Compile native code load shared library. 4. Write
E N D
JavaDriverJNI.java JavaDriverJNI.class JavaDriverJNI.h • Write • Java Code • editor (.java) 2. Compile JavaDriverJNI javac 3. Java Header File javah -jni Use: jni.h stdio.h 6. Run/Test/Debug using JMV 5. Compile native code load shared library 4. Write Native Methods .cpp CPPStringFilterJNI.dll CPPArrayFilterJNI.dll CPPStringFilterJNI.cpp CPPArrayFilterJNI.cpp Output ….