java - JAVA_HOME default in ubuntu -
i using ubuntu 14.0.4... java_home
/usr/lib/jvm/java-7-oracle
though uninstalled java...
i manually set /usr/lib/jvm/jdk1.8.0_71
in etc/environment
. $echo java_home
shows /usr/lib/jvm/java-7-oracle
.
how resolve issue , how use jdk1.8.0_71
in java_home
.
try edit ~/.profile
.
add line @ bottom:
java_home="/usr/lib/jvm/jdk1.8.0_71"
after editing, close console (terminal) window , open new. test echo java_home.
Comments
Post a Comment