In my previous question I was suggested to update the Java version from 8 to 17 (or later).
I was given a 2017 Eclipse version (Oxygen, 4.7.0) as you can see below:
Currently Eclipse is using JavaSE-1.8
as the JRE System Library
as you can see here:
and here:
and here:
So I visited Java SE 17 archive downloads and downloaded Windows x64 Compressed Archive
, unzipped the archive and paste the content on my Desktop:
In order to update the JRE I went to Preferences > Installed JREs and tried to Add the newly downloaded JRE as a Standard VM but I get an error:
that is
Target is not a JDK root. System library was not found.
Note that I do not want to locally install a JVM on my computer.
How can I fix the issue?
I had to update the version of Eclipse to the latest version, as suggested in the comment box.