Answers for "add JAVA_HOME to the path"

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
0

find where JAVA_HOME is set

grep JAVA_HOME /etc/environment /etc/bash.bashrc /etc/profile.d/* /etc/profile
Posted by: Guest on February-04-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language