简体   繁体   中英

Eclipse can't find Java runtime

My problem is that I am trying to download the Eclipse IDE but when I do, it says that I do not have the latest version of Java

It says I need Java version 8 (build version 1.8.0) and I also have Java 8 but it is written as build version 1.8.0_221_b11.

I do not know how to fix this. I have tried re-installing Java but that did not work.

Thanks in advance for your replies!

I suggest you try the Eclipse installer rather than downloading a full package. Help for the installer is available at https://www.eclipse.org/downloads/packages/installer

Reason for suggesting the installer: it has more smartness for detecting different Java installations on your system and picking one that is suitable for running Eclipse.

If this still doesn't solve your problem, you may use the menu (upper right) to switch to "Advanced Mode" where you can inspect the Java installations found by the installer, and select or add the desired version (close to the bottom, look for "Java 1.8+ VM:").

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