Posted By: Anonymous
How do I change the value of
JAVA_HOME in Ubuntu to point to Oracle’s Java?
Should it point to
I put the line:
/usr/lib/jvm/java7-oracle should be a symbolic link pointing to
/usr/lib/jvm/java-7-oracle-[version number here].
The reason it’s a symbolic link is that in case there’s a new version of the JVM, you don’t need to update your
.bashrc file, it should automatically point to the new version.
If you want to set
JAVA_HOME environment variables globally and at system level means use should set in