Answers for "what should be the path of java_home"

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
1

java_home what is

Optional.

The JAVA_HOME environment variable points to the file system location where 
the JDK (Usually only JDK not JRE) installed.

Avoid using it. Prefer to have your java in PATH or managed by something like JVMS
Posted by: Guest on September-08-2021
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 "what should be the path of java_home"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language