get java_home code example
Example 1: how to echo java_home in windows cmd
echo %JAVA_HOME%
Example 2: change javahome cmd
setx JAVA_HOME -m "Path"
Example 3: find where JAVA_HOME is set
grep JAVA_HOME /etc/environment /etc/bash.bashrc /etc/profile.d/* /etc/profile