您的位置:首页 > 编程语言 > Java开发

To open “Eclipse” you need to install the legacy Java SE 6 runtime

2016-10-05 15:51 881 查看
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’.


eclipse problem on os x yosemiteThe 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
?
Replace those lines with
?
Restart the OS X so the changes will take effect

Hope it helps.原文:http://www.londatiga.net/it/programming/eclipse-issue-os-x-yosemite-to-open-eclipse-you-need-to-install-the-legacy-java-se-6-runtime/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse Android idk
相关文章推荐