Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Open In App
Next Article:
How to Install PHP on Apache in Windows?
Next article icon

How to Install Apache Tomcat on Windows?

Last Updated : 19 Jan, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

Apache Tomcat which is short for “Tomcat” is a free, open-source Java Servlet, Java Expression Language, JavaServer Pages, and WebSocket implementation. Tomcat is an HTTP web server that basically runs Java code in a “pure Java” environment. Here, we will see how to install Tomcat 10 on Windows 10 from Zip Archive. Requirements are Java 8 or above must be already installed. Make sure Windows Firewall allows Tomcat application.   

Installing Apache Tomcat on Windows

Step 1: We need to first install the Tomcat 10 zip file from this website. On the website, select the 64-bit Windows zip (PGP, sha512) in the Core section to start the download process for the Tomcat zip file. 

installing-tomcat-10-zip-file
 

Step 2: Check If JDK Is Installed. Open Command Prompt and enter the following commands

java -version
javac -version

jdk-installation
 

If JDK is not installed on your computer, install JDK. In the above picture, we can see JDK is already installed on our computer. 

Step 3: Unzip Tomcat 10 Zip File. Go to the location where you have downloaded the Tomcat 10 zip file. Right-click on the apache tomcat file place the cursor on 7-Zip and click on Extract Here to extract the folder.  

unzipping-tomcat
 

Step 4: Creating JAVA_HOME Variable. Click Start then in the search bar, search for "Edit the system environment variables" and click on it. The following System Properties box will open. Select Environment Variables in the box. 

Creating-JAVA-HOME-Variable
 

On clicking Environment Variables the following box will open.

environmental-variables
 

Step 5: We have to create a JAVA_HOME variable and insert the path of the JDK file stored in our computer, which will be shown below. So select New from the System variables in the above picture. A New System Variable box will be opened where we will have to fill in the Variable name and Variable value.

new-system-variable-box
 

Step 6: Go to the location where you have stored the contents of the JDK file in My Computer or PC. Copy the root path of the location of the JDK file as shown below.

copying-root-path-location
 

Step 7: Paste the JDK path from the above picture into the Variable value field and in the Variable name field, give the name JAVA_HOME as shown below. 

pasting-jdk-path
 

Step 8: Check the Working of Tomcat. Open the extracted apache tomcat file. We will see all the following files in them. Among them open the batch file named "startup". 

checking-working-of-tomcat
 

Step 9: Check if the Startup Windows Batch File is running properly. 

checking-batch-file
 

By default, the server port number is 8080.

Step 10: Successful Installation of Tomcat. Our next step is to open an internet browser like Google and type in the address 

http://localhost:8080

Then click enter and the following browser will appear suggesting the successful installation of Apache Tomcat. 

installed-apache-tomcat
 

Next Article
How to Install PHP on Apache in Windows?

P

pritamauddy25
Improve
Article Tags :
  • Technical Scripter
  • How To
  • Installation Guide
  • Technical Scripter 2022
  • how-to-install

Similar Reads

  • How to Install Apache Maven on Windows?
    Apache Maven is an automation tool. The tool is written in Java. It was initially released on 13 July 2004. It is developed by the Apache software foundation. It is part of the Jakarta Project. It is working on two aspects: how software is built, and its dependencies. It was created by Jason van Zyl
    3 min read
  • How to Install PHP on Apache in Windows?
    PHP is a Hypertext Preprocessor, earlier it known as Personal Home Page. It is an open-source server (available for free) side scripting language (everything is implemented on the webserver) that is embedded into HTML and used for web development. PHP script starts with <?PHP and ends with?>.
    4 min read
  • How to Install Apache OpenOffice on Windows?
    Apache OpenOffice is an open-source office suite. It provides free applications for spreadsheets, word processing, presentations, graphics, databases, etc. It was initially released on 1 May 2002 and developed by Sun Microsystems (1999–2009), Oracle Corporation (2010–2011). It is easy to use and ava
    3 min read
  • How to Install Apache JMeter on Windows?
    The Apache JMeterâ„¢ application is open-source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. It can be used to simulate a heavy load on a
    2 min read
  • How to Install ALZip on Windows?
    ALZip is an all-in-one application for compression and archiving that is quick and simple to use. ALZip is the only ZIP utility you'll ever need because it supports more compression and archiving formats than any other significant program. The ALZip offers its own file format, called "EGG," which ha
    2 min read
  • How to Install Apache Tomcat 8 on Linux?
    Apache Tomcat (short for "Tomcat") is a free and open-source Java Servlet, JavaServer Pages, Java Expression Language, and WebSocket implementation. [two] Tomcat is an HTTP web server that runs Java code in a "pure Java" environment. Tomcat is developed and maintained by a free group of developers u
    2 min read
  • How to Install WebStorm on Windows?
    WebStorm is a cross-platform integrated development environment (IDE) and is used for developing web applications in React, Vue, Angular, Express, Php, Meteor, Ruby, etc. It has been maintained by Jetbrains since its launch and is primarily written in Java. As one of the most popular JavaScript IDEs
    2 min read
  • How to Install Visual C++ on Windows?
    In this article, we will discuss the process of installing Visual C++ on Windows. Visual C++ is part of the general "C suite" of programming languages often used for many different types of development projects. The full name of the product is Microsoft Visual C++, which is sometimes abbreviated as
    1 min read
  • How to Install OSSEC Agent on Windows?
    OSSEC is an open-source Host dependent Intrusion detection software. OSSEC could be understood as Operating System Security. OSSEC is available for all major operating systems such as Linux, Windows, OS X, Solaris, and many other UNIX-based systems. OSSEC performs various operations to ensure securi
    3 min read
  • How to install Python on Windows?
    Python is a high-level programming language that has become increasingly popular due to its simplicity, versatility, and extensive range of applications. The process of How to install Python in Windows, operating system is relatively easy and involves a few uncomplicated steps. This article aims to
    5 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences