Let’s learn the Apache Tomcat Setup on Windows operating system. This tutorial is a step to step guide to teach you to download, install, and set up the Tomcat web server on the Windows system.
Download Apache Installer
Navigate to the Tomcat software download page. The Tomcat download page provides download links for obtaining the latest version of Tomcat software. We also get download links to the archives of older Tomcat releases on this page.
Click on the link to download the Apache installer file.
32-bit/64-bit Windows Service Installer link.
To install and set up the Tomcat web server, locate the downloaded installer file on the computer and double-click on the installer file to launch the setup wizard.
Click on the ‘I Agree’ button to accept the license agreement.
On this screen, we can choose the Tomcat components. Click on the Next > button to continue. For learning purposes, selecting and installing all the components is recommended.
Java Virtual Machine
Choose Java Virtual Machine. Some Tomcat versions have specific JVM version requirements. In case, a lower version of JRE is installed on the system, we need to update the JRE version. We need to install a later version.
We can configure several things on this screen. Tomcat’s basic configuration includes:
- Server shutdown port
- HTTP Connector port
- Tomcat Service name
- Tomcat administrator login credentials and roles.
We can change the Tomcat connector port, and Tomcat windows service.
Secure Tomcat administrator login with username and strong password. Once done, click on the Next > button.
Choose the destination folder to install the server. By default, the server will be installed at the following location:
C:\Program Files\Apache Software Foundation\Tomcat <version>
Click on the Install button to install the web server on the machine. Once the setup is complete the Tomcat setup complete will be displayed.
Click on the Finish button to close the setup.
To run the Tomcat web server, check the option Run Apache Tomcat.
We can verify the Tomcat setup to check if the installation was successful. Open a web browser like Google Chrome, Mozilla Firefox, or Microsoft Edge. Type the following default URL in the address bar:
The Tomcat webpage should be displayed on the web browser window.
That’s it. We have successfully configured Apache Tomcat Webserver on the Windows machine.
Java Tutorial on this website:
For more information on Java, visit the official website :