Answers for "Ensure JAVA_HOME is set, or javac is on your 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 "Ensure JAVA_HOME is set, or javac is on your PATH"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language