JAVA_HOME=/usr/local/java/jdk1.8.0_181
PATH=$JAVA_HOME/bin:$PATH
JAVA_BINDIR=/usr/local/java/jdk1.8.0_181/bin
JRE_HOME=/usr/local/java/jdk1.8.0_181/jre
JDK_HOME=/usr/local/java/jdk1.8.0_181
JAVA_ROOT=/usr/local/java/jdk1.8.0_181
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export JAVA_HOME PATH JAVA_BINDIR JRE_HOME JDK_HOME JAVA_ROOT
#PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH