Экспорт Java Home
export JAVA_HOME_BIN=`which java`
export JAVA_HOME_DIR=`dirname $JAVA_HOME_BIN`
export JAVA_HOME=`dirname $JAVA_HOME_DIR`
Adventurous Alpaca
export JAVA_HOME_BIN=`which java`
export JAVA_HOME_DIR=`dirname $JAVA_HOME_BIN`
export JAVA_HOME=`dirname $JAVA_HOME_DIR`
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
# Add JAVA bin directory to the PATH variable
export PATH=$PATH:$JAVA_HOME/bin