How to Install and Configure Apache Tomcat (Windows)

See Apache: Tips and Tricks for similar articles.

Apache Tomcat can be installed and configured for first time use in a straightforward way.

To learn how to install and configure Apache Tomcat for Windows, follow these 5 steps:

  1. Download Tomcat 8.0 at https://tomcat.apache.org/download-80.cgi#8.0.47. Select the 64-bit version for Windows: Tomcat download page
  2. Extract the zip file to a directory on your computer, e.g., c:/Tomcat8.
  3. To configure Tomcat, you may define CATALINA_HOME and CATALINA_BASE environment variables in the Windows Control Panel, although this will not be required for starting and stopping Tomcat from the command line. Set the value of each environment variable to the install directory in the previous step, e.g., c:/Tomcat8.
  4. While in the Control Panel environment variables definition panel, add the bin directory of Tomcat to the PATH variable. The bin directory is located in the install directory, e.g., c:/Tomcat8/bin.
  5. Tomcat install and initial configuration is complete.