1 #include <jni.h> 2 #include "mixedjava.h" 3 4 JNIEXPORT jint JNICALL Java_MixedJava_get_1version(JNIEnv * env,jclass cls)5 Java_MixedJava_get_1version(JNIEnv *env, jclass cls){ 6 jint version = (*env)->GetVersion(env); 7 return version; 8 }