Cannot run Eclipse; JVM terminated. Exit code=13

前端 未结 30 2843
生来不讨喜
生来不讨喜 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:40

    Whenever you see this error, go to Configuration directory and check for a log file generated just now. It should have proper Exception stacktrace. Mine was a case where I got an updated 32-bit JRE (or JVM) installed which was the default Java that got added to the Path. And my Eclipse installation was 64-bit which meant it needed a 64-bit VM to run its native SWT libraries. So I simply uninstalled the 32-bit JVM and replaced it with a 64-bit JVM.

    I wonder if they will improve this reporting mechanism, instead of silently generating a log file in some directory.

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

    Just uninstalled jre-32 bit version and It worked fine for me.

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

    I used the new Eclipse Installer. I didn't like the installation path and I changed it manually. After that, I got the exit code=13 message too.

    There is a new property in the eclipse.ini file named -install. I just had to modify it with the new location, and that solved this issue.

    In the new installer I selected D:/eclipse, but the IDE was installed at D:/eclipse/eclipse. So, I moved the folder manually. The next time I tried to open eclipse I got the exit error. Thus, I had to modify eclipse.ini and set the current location:

    -install
    D:/eclipse
    
    0 讨论(0)
  • 2020-11-21 05:42

    for ones with Eclipse Neon

    I wanted to run Eclipse Neon and had JRE 1.8 but JDK 1.7 It returned error=13 then I installed java JDK 1.8 and everything worked like a charm

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

    I had the same issue on Ubuntu, and solved it by unpack all *.pack files in jdk directory. for example: cd /usr/java/jdk1.7.0_03/jre/lib sudo ../bin/unpack200 rt.pack rt.jar

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

    I face same issue with sts 3.8.4, so I tried different settings but not luck, I reinstall jdk again n tried but same problem. Finally I downloaded sts 3.8.2 n it runs with out any issue. Using windows 8, 64 bit os. thanks

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