legacy java se 6_To open “Eclipse” you need to install the legacy Java SE 6 runtime

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’.

2f06d734b0a278261521a2ca73f9d8fc.png

eclipse problem on os x yosemite

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

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值