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

前端 未结 30 1495
青春惊慌失措
青春惊慌失措 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:29

    make a batch file in the eclipse folder and write in it :

    eclipse -vm C:\Sun\SDK\jdk\jre\bin\javaw.exe
    

    see http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F

    0 讨论(0)
  • 2020-11-22 06:29

    When I had such problem, in my case I had x64 JDK + JRE installed with x86 Eclipse. So installing of x86 JDK + JRE solved my problem :) Also I created jre folder in eclipse folder and copied bin folder from my local path C:\Program Files (x86)\Java\jre7 to ..\eclipse\jre\.

    0 讨论(0)
  • 2020-11-22 06:29

    Just Add the JRE PATH FOR Ex: C:\Program Files\Java\jre5\bin in the environmental variable Put ";" in between every path. Then click the eclipse.exe It will work.....

    0 讨论(0)
  • 2020-11-22 06:29

    The JDK does not install a JVM in the default path.

    Unless you need external tools to run like ant, the non-JDK is enough for Eclipse to run. The easiest way to install such a JVM is to go to http://java.com and let it install whatever it want to install.

    Then double-click the Eclipse binary again.

    0 讨论(0)
  • 2020-11-22 06:30

    There is an easier way to do that. Just run cmd x64. Type cmd x64 to search bar in start menu ant you will find it :) Or alternatively, you should set path to program files (x86) ... For example C:\Program Files (x86)\Java\jre6

    0 讨论(0)
  • 2020-11-22 06:30

    I had the same issue (Windows 7 x64, 64bit JDK, 32bit Eclipse), and I found 2 solutions:

    • Install the 64 bit version of Eclipse (found by clicking the "Development Builds" tab on the downloads page.)
    • Install the 32bit version of the JDK.
    0 讨论(0)
提交回复
热议问题