Menu

Sunday, July 24, 2011

Install tomcat in windows

  1. Download Tomcat from the below site. http://tomcat.apache.org/
  2. Set the following environment variables in the User or System variables.  See this article to set environment variables. How to set environment variables in windows?
    • JAVA_HOME = location of the JDK
    • CATALINA_HOME = Location of the Tomcat server
    • PATH = Add CATALINA_HOME\bin directory in the path variable
  3. Go to CATALINA_HOME\bin directory in the command prompt and run the startup.bat file.
  4. Run this http://localhost:8080/ URL in the browser to verify tomcat installation. By default tomcat will run on 8080 port.

     Related Articles:

     How to add Tomcat as a service in windows?
     How to change the Tomcat's default port no?