Why do we need to set JAVA_HOME?

Why do we need to set JAVA_HOME?
Answer
The JAVA_HOME environment variable points to the directory where the Java runtime environment (JRE) is installed on your computer. The purpose is
to point to where Java is installed. $JAVA_HOME/bin/java should execute the Java runtime. or may having it on your PATH.
 

Tìm kiếm

Back
Top