eclipse won't start - no java virtual machine was found

前端 未结 22 1107
感情败类
感情败类 2020-12-12 16:58

Eclipse was running fine yesterday (and has been since I installed it about a year ago). Now all the sudden I\'m getting the following error on startup:

\"A          


        
相关标签:
22条回答
  • 2020-12-12 17:40

    I had same problem after updating java. Then I paste

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

    to show the path of javaw.exe in eclipse.ini file.

    Hope this will help you.

    0 讨论(0)
  • 2020-12-12 17:41

    you should change the jdk path in eclipse.ini here:

    /Users/you_username/eclipse/jee-photon/Eclipse.app/Contents/Eclipse/eclipse.ini

    after you should restart eclipse :)

    0 讨论(0)
  • 2020-12-12 17:42

    After setting Java Path, if you are not able to open your eclipse do below steps:

    1. Go to your Eclipse Folder where you have extracted your eclipse.

    1. Open Eclipse file in notepad (by default it will open on notepad)

    Enter two lines

    -vm
    C:/Program Files/Java/jdk-11.0.2/bin/javaw.exe
    

    jdk-11.0.2 ,It should be your Java Version, which you will get by the above location.

    0 讨论(0)
  • 2020-12-12 17:42

    Chek os,eclipse,and java whether it is 32 or 64 bit

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