MacOSX Snow Leopard and Eclipse: Error starting Eclipse (No Java virtual machine…)

后端 未结 7 2081
自闭症患者
自闭症患者 2020-12-18 05:46

This is so frustrating.

I did no update of java nor eclipse and suddenly I can\'t open eclipse. I even didn\'t install any other programs. Here is the error:

7条回答
  •  难免孤独
    2020-12-18 06:03

    OK, after a few days of struggling and with no luck on this thread and Eclipse forums THREAD I started a bounty for this question and had no correct answer.

    I found a solution to this problem (this stack).

    ANSWER:

    You need to edit the Eclipse.app/Contents/Info.plist file and add two lines in it:

    enter image description here

    Nowhere stated that this lines had to go in Eclipse array but just somewhere up as key-string.

    If you don't have Xcode, edit that file with textedit:

        Eclipse
    
        -vm
        /System/Library/Frameworks/JavaVM.framework/Home/bin/java
        -keyring
        ~/.eclipse_keyring
        -showlocation
    
    

提交回复
热议问题