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

前端 未结 22 1258
感情败类
感情败类 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:29

    The problem occurred on my machine due to Java version got updated(66 from 60). Pay special attention to it. As said above would like to add

    In this file eclipse.ini, which is available where you have installed eclipse search for the line below -vm example C:\Program Files\Java\jre1.8.0_66\bin

    now try to open this location, in case you are not able to open, that means there is some problem. In my case the version installed was jre1.8.0_60 . So there was a small difference which may not noticeable(66 instead of 60). Update it you will be able to open.

提交回复
热议问题