简体   繁体   English

更新JDK后,Mac OS X上的Eclipse IDE找不到正确的JDK路径

[英]Eclipse IDE on Mac OS X doesn't find correct JDK path after update JDK

I've been using Eclipse/Java on Mac OS for a long time. 我已经在Mac OS上使用Eclipse / Java很长时间了。 Recently, I tried to launch Eclipse, and it opened its splash page and quit. 最近,我尝试启动Eclipse,它打开了启动页面并退出。 I downloaded Neon, and it won't let me install Eclipse because it finds an old version of Java on my system, though my system tell me I've got Java 8. I've got El Capitan running 我下载了Neon,但它不允许我安装Eclipse,因为它在我的系统上找到了Java的旧版本,尽管我的系统告诉我我有Java8。ElCapitan正在运行

Any advice? 有什么建议吗?

You set JDK path like this screenshot: 您可以如下图所示设置JDK路径:

在此处输入图片说明

(Image source: http://crunchify.com/where-is-java-installed-on-my-mac-osx-system/ ) (图片来源: http : //crunchify.com/where-is-java-installed-on-my-mac-osx-system/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM