Installing Tomcat on Windows

Introduction

Tomcat is a Java Servlet container and has gained much popularity in recent times among web developers. Tomcat’s ability to sustain and efficiently run heavy load-intensive applications coded in the Java platform has made it so common among developers. The inspiration behind the name of the project ‘Tomcat’ comes from an animal’s innate tendency to fend for itself and survive irrespective of the circumstances. The latest version of the application is Tomcat 9 and it installs various Java EE (Enterprise Editions) specs like Java Servlet, Java EL, WebSocket, JavaServer Pages, etc. Tomcat 9 can be installed on both Windows as well as Apple desktops. In this article, we will discuss the steps to install it on Windows devices.

Prerequisite

As a prerequisite, your device should already have either the JDK or JRE downloaded on the Windows server. If you are looking for a suitable JDK, you can try out the OpenJDk and the Amazon Corretto open-sources JDKs.

How to Install

  1. Open your web browser and copy-paste the following link: https://tomcat.apache.org.
  2. Once the webpage opens, you will find a link titled Tomcat 9 within the left panel of your screen. Click on it. Download links will appear on the following page. Depending on the specifications of your device, click on ’32-bit/64-bit Windows Service Installer’.
  3. An automatic download will start in your browser. Once the download is complete, launch the installer.
  4. Click on ‘Next’ and Agree to the Terms and Conditions on the next page.
  5. There will be a ‘Choose Components’ page. You can either choose individual components that you want to download or choose ‘Full’ from the ‘Select type of Install’ dropdown list.
  6. The Configuration page will allow you to set up ports. This can also be done after Tomcat is installed.
  7. Finally, choose a directory for the installed files to be stored and click ‘Install’.
  8. Select the path of a Java SE or JRE installed on your system and the installation will be completed.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.