set JAVA_HOME path for jre

set JAVA_HOME path for jre

edit the file .bash_profile and .bashrc

Append the following lines:

‮efer‬r to:lautturi.com
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0
export JAVA_HOME

export PATH=PATH:$JAVA_HOME/bin
Created Time:2017-08-29 19:41:44  Author:lautturi