here, one example in chapter 5 overview# Java - 爪哇娇娃
f*y
1 楼
http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/invocation.html
I can compile the C code, but error to run it, when get this sentence
JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args);
I find the return value is -1, if 0 is successful. Somebody help?
I can compile the C code, but error to run it, when get this sentence
JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args);
I find the return value is -1, if 0 is successful. Somebody help?