I have a *nix VM allocated me running CEL6.x version. The JVM pre-built in the image is 1.6 version (which is located under /usr/bin).
Now I need to have Eclipse in the VM. I have a Eclipse executable which needs JVM 1.8 or above.
Unfortunately, i dont have necessary permission to install any software on the VM.
Fortunately, discovered that in one of the mounted path /abc/bin, java-1.8.0_91 is present.
Now I need a way, when we execute java, the one present under /abc/bin (Java 1.8) should be picked rather than the default one present under /usr/bin (Java 1.6).
Any environmental variable i need to change to make this working? Say, JAVA_HOME or something like that.