windows check if you hava java_home code example Example: how to echo java_home in windows cmd echo %JAVA_HOME%