windows java_home code example
Example 1: how to echo java_home in windows cmd
echo %JAVA_HOME%
Example 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