Eclipse - no Java (JRE) / (JDK) … no virtual machine

前端 未结 30 2052
青春惊慌失措
青春惊慌失措 2020-11-22 05:58

I am trying to get Eclipse v3.5 (Galileo) to re-run on my computer - I have run it before with no problems, but now I keep getting this error:

30条回答
  •  日久生厌
    2020-11-22 06:33

    Do not rely on the windows path variable because it gets changed in nearly every update. E.g. a chrome (32bit on a 64 bit machine) java update replaces the systemwide 64 bit JVM by a 32 bit JVM. Note also that this entry has to be the last one in the eclipse.ini, otherwise it does not work,And - as otherwise stated - the JAVA_HOME variable is NOT evaluated by eclipse.exe.

    even if your has JAVA_HOME and Path configured valid,their may has this problem,so the most simple way to do is open your eclipse.ini in your eclipse installtion folder

    -vm

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

    replace C:\Program Files\Java\jdk1.7.0_71\bin\javaw.exe with your jdk or jre `s path

提交回复
热议问题