how to navigate to java_home in windows 10 command prompt code example Example: change javahome cmd setx JAVA_HOME -m "Path"