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...
Hi,
I figured that you had to link jvm.lib but I am glad to be sure of that now because I was looking for javai.lib as well, but now at least I know that is not the solution to my problem. Does anybody have any idea why when I call JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args) it always...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.