I have one JRE in C:\\Program Files (x86)\\Java\\jre6 and that was the only one at the time I installed Eclipse. I have subsequently installed a complete JDK i
On windows I've tried different approaches - setting JAVA_HOME, JRE_HOME and extending the PATH to point to the desiered jre18 but nothing helped - disabling the JRE17 in the java control panel didn't helped either
What helped me out was to force eclipse to use the appropriate JRE in the eclipse.ini file e.g.
-vm C:\java\jdk1.8.0_111\jre\bin\javaw.exe