Recently i just upgraded my Macbook Pro to the new Macbook Retina Display (mid 2014) that comes default with OS X Yosemite 10.10.1. After installing Java JDK 1.8, all my Android IDE (Eclipse and Android Studio) work well so i can continue my development as usual. The problem comes when i update the OS X to Yosemite 10.10.3, my Eclipse won’t open anymore. When i start Eclipse by clicking on its icon, the warning dialog appears saying ‘To open “Eclipse” you need to install the legacy Java SE 6 runtime’.
The suggested solution is to install Java SE 6 runtime from Apple website by clicking the More Info button. But because the internet service is expensive here and i don’t want to spend extra internet quota to download the java update,i do some googlings and found an alternative solution.
The solution is simple, just to make some changes the Info.plist file in Java library folder:
- Locate the Info.plist in your JDK folder, mine is under
- Edit the Info.plist file using your favorite editor
- Find the following lines
<key>JVMCapabilities</key> <array> <string>CommandLine</string> </array>
- Replace those lines with
<key>JVMCapabilities</key> <array> <string>JNI</string> <string>BundledApp</string> <string>WebStart</string> <string>Applets</string> <string>CommandLine</string> </array>
- Restart the OS X so the changes will take effect
Hope it helps.by
Leave a Reply