Redhat Enterprise Linux(RHEL) 6.7 Java version "1.7.0_80" Eclipse Juno 3.8.2 Eclipse Neon 4.6
In a few months my project will be moving from Eclipse 3 to Eclipse 4. I would like to get ready by playing around with Eclipse Neon. My environment variables ( Linux ) are set up with Java 1.7.
Obviously, I can download Java 1.8 as Eclipse Neon requires.
At this point I can't even get Eclipse Neon to boot up because of this dependency. How can I get Eclipse Neon to point to a downloaded Java 1.8 before it boots up?
Thanks
You can specify the path to a particular JVM you want Eclipse to use by editing the eclipse.ini
file in the Eclipse install directory and adding the -vm line followed by the path to the Java.
For example:
-vm
/opt/sun-jdk-1.6.0.02/bin/java
Note: This must be two lines. It must be above any -vmargs entry in the file.