Cannot run Eclipse; JVM terminated. Exit code=13

前端 未结 30 2845
生来不讨喜
生来不讨喜 2020-11-21 05:31

\"enter

I just append -vm C:\\Program Files\\Java\\jre6\\bin\\javaw.exe

in ec

相关标签:
30条回答
  • 2020-11-21 05:36

    I had this issue also. I had an old JDK1.8.0_05. I installed the newest JDK1.8.0_111 and everything works great now. Just be sure to update your environment variable.

    I am on Windows 7 64 bit. Using Eclipse Neon 1a.

    Hope that helps someone.

    0 讨论(0)
  • 2020-11-21 05:37

    You need to check if your PC has a 64-bit or 32-bit operating system, then same goes for your JDK (64-bit/32-bit) and also for Eclipse (64-bit/32-bit).

    Make sure they are all the same; if not, you need to download the one that matches your bitness.

    0 讨论(0)
  • 2020-11-21 05:37

    Make sure the Eclipse and the Java that you are using are both either 32-bit or 64-bit.

    You cannot run 64-bit eclipse with 32-bit JRE.

    java -version
    

    Java HotSpot(TM) 64-Bit Server VM

    The 32 bit version JRE will not have 64-Bit in it.

    0 讨论(0)
  • 2020-11-21 05:38

    Go to the folder where you saved Eclipse. Look in the configuration folder at the startup log. It will give you a much better diagnostic than "exit code 13".

    0 讨论(0)
  • 2020-11-21 05:39

    I had the same error when configuring eclipse.ini to use JRE6. Turns out I caused this error by incorrectly configuring eclipse to use the 64 bit JVM while running a 32 bit version of eclipse 3.7.

    The correct configuration required the eclipse.ini -vm argumument to use "C:/Program Files (x86)/" instead of "C:/Program Files/".

    Make sure that the JVM version (32/64 bit) you use matches the eclipse version (32/64 bit).

    0 讨论(0)
  • 2020-11-21 05:40

    I just hit this too. Turns out that at least for me, this was due to trying to use a win64 version of the JRE with a win32 Eclipse. I seems that win32 Eclipse requires a win32 Java (what is called -586 in the list of Java installers from Oracle/Sun).

    The reason I was using both is that I was trying to pinpoint a bug that only manifested itself in 64-bit Eclipse, so I needed a 32-bit to compare to.

    Once I installed BOTH the "x64" (win64) and "i586" (win32) versions of the JRE on my machine, things work fine and no error 13. You can apparently have both installed at the same time.

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