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

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

    On Centos 7 I fixed this problem (after a big yum upgrade) by changing my setting for vm in:

    ~/eclipse/java-oxygen/eclipse/eclipse.ini

    to:

    -vm
    /etc/alternatives/jre/bin
    

    (which will always point to the latest installed java)

提交回复
热议问题