码迷,mamicode.com
首页 > 系统相关 > 详细

Eclipse - Mac Os Default JRE missing

时间:2014-09-01 19:08:23      阅读:412      评论:0      收藏:0      [点我收藏+]

标签:http   os   io   java   ar   log   sp   on   c   

转:http://stackoverflow.com/questions/1736993/eclipse-mac-os-default-jre-missing

1) Follow Joshua‘s answer: "Help->Install New Software... Select: Galileo -http://download.eclipse.org/releases/galileo Under Programming Languages choose: Eclipse Java Development Tools 3.5.x..."

2) Then go to Eclipse -> Preferences -> Java -> Installed JREs.

3) Click ADD.

4) Under ‘Installed JRE Types" you should see the previously missing "MacOS X VM". Select this and click NEXT.

5) Click the BROWSE button next to the JRE home field, and the dialog box should say "Select the root directory of the JRE installation"

6) Browse to /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home

7) Click OPEN.

8) In the JRE name field type "JVM 1.5"

9) From there you should just be able to click FINISH and have your JRE available.

I used this to fix a missing JRE error building a Google App Engine project.

 

Eclipse - Mac Os Default JRE missing

标签:http   os   io   java   ar   log   sp   on   c   

原文地址:http://www.cnblogs.com/liulipeng/p/3949584.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!