Check out example codes for "how to echo java_home in windows cmd". It will help you in understanding the concepts better.

Code Example 1

echo %JAVA_HOME%

Learn ReactJs, React Native from akashmittal.com