JNI_CreateJavaVM exit code -1?

前端 未结 1 1660
粉色の甜心
粉色の甜心 2021-01-26 06:23

I have a problem when create JVM at JNI_CreateJavaVM method, application just \"The program \'[4616] VnptTokenCplusplus.exe: Native\' has exited with code 1 (0x1).\", can anybo

相关标签:
1条回答
  • 2021-01-26 07:00

    I was having the same issue and did two things to solve it:

    1- Add the place where jvm.dll lies (should be in the program files\java\jsdk_*\bin\server) to the PATH environment variable on your windows machine

    2- Try to change the "-Djava.class.path=." to point to an actual directory or a .jar file (worked for me)

    0 讨论(0)
提交回复
热议问题