简体   繁体   中英

“Your java version is out of date” with latest java

I have the latest java by now 1.8.0_25 on my mac. version checker says it's fine. But I 'm getting this error “您的Java版本已过时”

If I click 'Later' it works, but then appears again later. I see this almost since the release of 1.8. I also have jdk1.7 and 1.6(apple) installed. enter image description here

更新画面

安装版本

On Mac, a newer JDK does not necessarily replace an older JRE. So it might be that you have the latest JDK, but still an old JRE somewhere. Go to the Apple menu and choose "System Preferences…". There should be a "Java" entry in the last section. Clicking on it should open the Java Control Panel in a separate window.

Check what it says there in the Update-tab. My guess is, that there is still an older version listed. So I would just update it. You can also check if on the "Java" tab in the Control Panel, if there are multiple versions listed and which one is the top one. Maybe reordering them if you have multiple to have the newest on top might help as well.

I had the exact same problem for the longest time. No old Java VM showed up in the system preferences. I eventually found and old JDK in /Library/Java/JavaVirtualMachines.

Check in the following locations for "old" VMs:

find /Library -name '*java*'
find /System/Library -name '*java*'
find ~/Library -name '*java*'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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