It won't create a Java VM (JNI)

前端 未结 2 1815
误落风尘
误落风尘 2021-01-14 02:44

My simple command line app:

int _tmain(int argc, _TCHAR* argv[])
{
 JavaVM *jvm;
 JNIEnv *env;
 JavaVMInitArgs vm_args;
 JavaVMOption options[1];
 options[0]         


        
2条回答
  •  星月不相逢
    2021-01-14 03:18

    I think that your problem is answered by this question in the Sun JNI FAQ.

    TL;DR version: Don't move the JVM installation's DLLs.

提交回复
热议问题