Install Apache:

Download the .zip from the Apache website:

1) Go to Apache and download the version you would like.

2) Put it in your home directory or where you would like to access it.

Set your system variables:

1) Right click Computer from startup menu and select Properties.

2) In the menu on the left click on Advanced System Settings.

3) Click on Environment Variables

4) Under System Variables click New

5) For variable name type: CATALINA_HOME, and for the value type in the location with YOUR version: C:\apache-tomcat-7.0.37(mine)

6) Add these to your CLASSPATH variable or create one: %CATALINA_HOME\bin%;%JAVA_HOME%\bin;

7) Make sure your JAVA_HOME variable is there or create it: C:\Program Files\Java\jdk1.7.0_11(mine)

8) Make sure your JRE_HOME variable is there or create it: C:\Program Files\Java\jre7(mine)


Test to make sure it's running:

1) Open a command window in the bin folder, and run the startup batch file.

2) Type in localhost:8080 in your web browser and it should be up and running!


Set up your IDE(Eclipse in this example):

1) Add the server to your workspace

Go to Window -> Preferences -> Server -> Runtime Environments -> Add


Select your version of Tomcat and it's location -> Finish



3) Start it up!

Go to Window -> Show View -> Servers


In the Servers View, right click -> Start


Helpful links:

Apache website!
http://tomcat.apache.org/tomcat-7.0-doc/appdev/installation.html

Eclipse guide:
http://www.eclipse.org/webtools/jst/components/ws/M4/tutorials/InstallTomcat.html