metalscreamer
Programmer
Hi,
I am new to JNI. At this point I am just trying to get a simple Hello World Java app to run by invoking the JVM with c++ through JNI. Whenever I call JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args) it fails returning -1. I found a list of return codes for the function and -1 was listed as "Unknown error" very helpful. Thanks in advance for any help.
I am new to JNI. At this point I am just trying to get a simple Hello World Java app to run by invoking the JVM with c++ through JNI. Whenever I call JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args) it fails returning -1. I found a list of return codes for the function and -1 was listed as "Unknown error" very helpful. Thanks in advance for any help.