Cannot run Eclipse; JVM terminated. Exit code=13

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

    I just had the same issue, and spend about an hour trying to solve the problem. In the end it was a '#' character in the path.

    So I renamed "C:\# IDE\eclipse 3.7\" to "C:\+ IDE\eclipse 3.7\" and that solved the problem.

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

    simply install 64 bit version of JAVA from http://java.com/en/download/manual.jsp

    and uninstall older version if prompted by the 64 bit installer

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

    For Eclipse:

    Added this two lines in eclipse.ini

    Second line represents the JDK location of the javaw.exe file.

    -vm

    C:\Program Files\Java\jdk1.7.0_60\bin\javaw.exe

    Note: place -vm lines before -vmargs, otherwise default location is taken.

    For STS

    Change the same as above in STS.ini

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

    This error occurred to me on ubuntu, having installed 32bit and 64bit java. Use

    sudo update-alternatives --config java
    

    to set the right version to use as default.

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

    I was using Eclipse Juno and I didn't remember if it was 32 or 64 bits. I installed Java 32 bits and that's why it failed. I then installed Java 64 bits and Eclipse Juno is working again.

    I also removed any java or jre reference in my environment variables (PATH).

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

    I fixed it reinstalling the jdk. In my case it was necessary to do:

    java -version
    sudo apt-get purge openjdk*
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    java -version
    javac -version
    

    taken from Install Java JDK+JRE (oracle) in Kubuntu 13.04 from apt

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