JNI from a packageTag(s): JNI
JNI requires that the function names follow a specific format. If you have a Java native method in a class called MyClass like this:
public native void myMethod();
JNIEXPORT void JNICALL Java_MyClass_myMethod(JNIEnv *, jobject);
JNIEXPORT void JNICALL Java_com_rgagnon_MyClass_myMethod(JNIEnv *, jobject);
javah com.rgagnon.MyClass
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com