I am running LiClipse 7.1.0, in an instance of LiClipse/Eclipse which has been in use and upgraded for a long, long time. Looking at the Release Highlights for LiClipse 7.1.0, I see the statement, "Updated to Eclipse 2020-09 (4.17). Java 11 is now required."
[Update] Also, an upgrade to this LiClipse installation is failing. Error messages mention "Cannot satisfy dependency: …To: osgi.ee; (&(osgi.ee=JavaSE)(version=11))
". I am told that means LiClipse requires Java 11 in order to upgrade successfully. (See How can I comprehend this Liclipse (Eclipse) upgrade failure error message? for more on that error message.)
My version of Java is older than 11:
% java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
% /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home
I think that means I have "Java 8" (I'm not clear on the Java version numbering scheme, and the relationship between "jdk1.x" and "Java X", etc.)
We know that LiClipse contains its own Java Runtime Environment (JRE). See Does LiClipse (for Mac) include its own copy of the JRE? . Answer: "Yes, LiClipse does include a JRE (depending on each platform it may be on a different place)." On the macOS builds, "The Java Home directory for this JRE is within the LiClipse.app
bundle directory, at ./jre/Contents/Home
." [Update] The version of LiClipse's own JRE is also 1.8, not 1.11. That isn't surprising, because this instance of LiClipse has been in use and upgraded for a long time.
% cd /Applications/LiClipse\ 4.0.0/LiClipse.app/jre/Contents/Home
% /Applications/LiClipse\ 4.0.0/LiClipse.app/jre/Contents/Home/bin/java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
So, how best to upgrade the JRE which LiClipse uses? If I run the Oracle Java installer, I expect it will put the JRE in a system location, not inside the LiClipse.app
bundle directory.
I am running on MacOS 10.13.6 High Sierra, if that makes a difference. For some reason I am able to run LiClipse 7.1.0, even though I am not running Java 11.
[Question updated to add reason why I want to upgrade the JRE which LiClipse uses, and to show that the internal JRE is not Java 11.]