How can I update JRE from JDK1.8.0_212 to 12.0.1?

I have already tried over Preferences-Installed JRE and I get information from Eclipse

Target is not a JDK Root. Java executable was not found

I’m working with Eclipse 4.12.0 on the MacOS Mojave. Installed Java JDK1.8.0 and JDK 12.0.1.
If I’m going to add libraries from the Java location there is only the file libjli.dylib.

Answer

JRE is no longer separately available beyond v. 8, but is part of JDK, available free from the Java Foundation, or as a commercial Oracle product.

Attribution
Source : Link , Question Author : leccepen , Answer Author : DrMoishe Pippik

Leave a Comment