Search This Blog

Eclipse 4.4 Luna on Mac OS 10.9.5: Eclipse.app is not supported on this type of mac

I have recently installed Mac OS 10.9.5 update. After update, I found Eclipse.app failed to start, it pops up a window with message: "It is not supported on this type of Mac."

The solution is:

  1. Find your java home:
    /usr/libexec/java_home -V
    , you can see the java home like below:
    Matching Java Virtual Machines (1):
        1.8.0_20, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
    
    /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
  2. Edit file: /Applications/eclipse/Eclipse.app/Contents/Info.plist, and insert the follow line:
    <string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java</string>
    to the proper location.
  3. Now you can try to click the Eclipse.app icon, if it pops up another error message: "Eclipse is damaged and can’t be opened. You should move it to Trash.", you will need to run the following command to fix:
    xattr -d com.apple.quarantine /Applications/eclipse/Eclipse.app/
  4. Note: you can run the following command to check directory attributes:
    xattr /Applications/eclipse/Eclipse.app/

see also

No comments:

Post a Comment