JVM terminated. Exit code = -1

后端 未结 21 751
面向向阳花
面向向阳花 2020-12-11 01:32

I\'ve been using Eclipse for some time already, and I didn\'t have any problems with it. However, when I tried to generate some javadoc, I found that I didn\'t have the SDK

21条回答
  •  独厮守ぢ
    2020-12-11 01:39

    I had similar issue: Eclipse IDE fail to launch with JVM Terminated. Exit code=-1

    One thing that worked for me is to set -Xmx to 256m in eclipse.ini. If that is not good enough for you, you may also try using different JVM module than the one that eclipse uses by default.

    If you look in the error dialog in your screen capture, you'll notice that the "-vm" option using "jvm.dll" as JVM. If you change it to use javaw.exe in your JAVA_HOME\bin folder, the problem should go away.

    I'm still clueless as to what the difference is between using jvm.dll vs javaw.exe. Maybe jvm.dll is suppose to be used only for light-weight embedded java applet and it can't handle the load brought on by a full stand-alone Java UI software.

提交回复
热议问题