In this tutorial we install Apache Tomcat on Windows.
1. Requirements
- Apache Tomcat 8 core binary zip file. Older versions of Tomcat are possible too, but remember the JDK requirements.
- JDK 1.7 or higher. Older versions are sufficiant for installing Tomcat 7 (JDK 1.6) or Tomcat 6 (JDK 1.5).
- Windows 🙂
2. Apache Tomcat Installation
- Unzip the Apache Tomcat binary zip file to a folder of your choice: We use D:\WEB\apache-tomcat-8.0.22.
- Add unzipped folder to the system environment variables:
- Press Winkey + Pause or click on Start ⇒ Right click on Computer ⇒ Properties.
Click on Advanced System Settings to edit PATH variables - Go to the Advanced tab.
- Click the “Environment Variables” Button.
- Add the tomcat path to the CATALINA_HOME system variable. We use: D:\WEB\apache-tomcat-8.0.22. From now on we refer to the tomcat home folder as %CATALINA_HOME%.
Enter Variable name (must be CATALINA_HOME) and your path to the tomcat folder.
- Press Winkey + Pause or click on Start ⇒ Right click on Computer ⇒ Properties.
- While editing the environment variables, make sure the JAVA_HOMEÂ environment variable exists. We use: C:\Program Files\Java\jdk1.8.0_45\jre.
3. Start Apache Tomcat Server
- Go into the Apache Tomcat folder. We use:Â D:\WEB\apache-tomcat-8.0.22.
- Switch to the bin folder.
- Double click startup.bat to start the Apache Tomcat server (to stop just click shutdown.bat, but keep it running for now).
4. Verify Apache Tomcat Installation
- Open a Browser and enter: http://localhost:8080/
- If you see the Apache Tomcat Window with the following message, Tomcat was successfully installed:
If you’re seeing this, you’ve successfully installed Tomcat. Congratulations!
5. Tips
- The Apache Tomcat server was not installed as service, so you have to start it every time you want to develope.
- As an alternative, you can choose the 32-bit/64-bit Windows Service Installer.
- If you want to integrate Tomcat in your Eclipse IDE, you can find a tutorial here.
![Share on Facebook Facebook](http://tutorial-academy.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/facebook.png)
![Share on Twitter twitter](http://tutorial-academy.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/twitter.png)
![Share on Reddit reddit](http://tutorial-academy.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/reddit.png)
![Pin it with Pinterest pinterest](http://tutorial-academy.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/pinterest.png)
![Share on Linkedin linkedin](http://tutorial-academy.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/linkedin.png)
![Share by email mail](http://tutorial-academy.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/96x96/mail.png)