在Mac OS X上,只安装了Java 7而没有安装Java 6时,打开Eclipse等依赖Java的软件,可能会遇到:
To open “Eclipse,” you need a Java SE 6 runtime. Would you like to install one now?
这样的错误提示
安装JDK 6:
到Apple的官方如下页面下载JDK安装:
http://support.apple.com/kb/DL1572?viewlocale=en_US
安装后,默认就有java 6了,启动MyEclipse也不会出问题了。
参考资料:
http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6
http://www.macobserver.com/tmo/article/uninstall-or-disable-java-on-a-mac
To open “Eclipse,” you need a Java SE 6 runtime. Would you like to install one now?
这样的错误提示
安装JDK 6:
到Apple的官方如下页面下载JDK安装:
http://support.apple.com/kb/DL1572?viewlocale=en_US
安装后,默认就有java 6了,启动MyEclipse也不会出问题了。
参考资料:
http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6
http://www.macobserver.com/tmo/article/uninstall-or-disable-java-on-a-mac