Answers for "The bin directory of the java installation needs to be added to the JAVA_HOME environment variable"

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 "The bin directory of the java installation needs to be added to the JAVA_HOME environment variable"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language