Answers for "set java_home home home automatically variable environment"

0

export java home

export JAVA_HOME_BIN=`which java`
export JAVA_HOME_DIR=`dirname $JAVA_HOME_BIN`
export JAVA_HOME=`dirname $JAVA_HOME_DIR`
Posted by: Guest on September-23-2020
2

set java home path

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

# Add JAVA bin directory to the PATH variable
export PATH=$PATH:$JAVA_HOME/bin
Posted by: Guest on July-22-2020

Code answers related to "set java_home home home automatically variable environment"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language