To change the location of the Java Development Kit (JDK) that Apache Tomcat uses, one must set the JAVA_HOME variable that Tomcat reads. There are several ways of setting the JAVA_HOME variable, and the following method is one of these ways.
Note: In Microsoft Windows, some users would prefer to set the JAVA_HOME variable through the System's Environmental Variables.

