【已解决】系统提示已经更新为java8,但是却并没有,如何解决?

今天准备入手elasticsearch的时候,发现需要使用java8.但是不幸的是,我并没有更新到8,于是我决定手动的去更新,因为之前弹出自动更新的时候,我选择的是“skip this version”。

但是比较扯的是,系统居然提示我已经更新到了java8.

于是经过自己的搜索,我发现了这个帖子,对话很有趣。https://discussions.apple.com/thread/7844019

来自于苹果的支撑人员。

最后的解决方案就是 卸掉!卸掉!卸掉!然后等待下次更新覆盖!参见:https://www.java.com/en/download/help/mac_uninstall_java.xml

支撑人员的原文:

Oracle recommends blowing away old versions of Java (for security reasons). Unfortunately, the Java web site gives instructions for Windows users to remove old Java versions, but the only info they give for Mac users is to uninstall/re-install.

https://www.java.com/en/download/help/mac_uninstall_java.xml

 

I found this discussion interesting.

http://superuser.com/questions/479372/java-version-reporting-wrong-version-on-ma c-osx-mountain-lion

It is old (Mountain Lion and Java 7), but the point is that even something as simple as installing from different sources (JRE vs. JDK) would make it confusing about which version of Java is being used. (The two install versions use different paths and environment variables.)

 

 

但是我又找到了另一篇文章:https://java.com/en/download/help/mac_install.xml

用来安装java8,但是并不建议这样。对于mac来说,java7之前的版本是mac运行的基础,只有装有java7或者更早的版本mac才能正常使用。所以请等待下一次检测更新的时候,去完成,这个操作。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值