Site icon TestingDocs.com

Tomcat Server Install on Windows

Introduction

On this page, we will learn to install Tomcat Server on Windows operating System. Apache Tomcat Server Official Website:

https://tomcat.apache.org/

 

Download & Install

Choose the latest version and click on the Download button to download the server.

Download the zip file. Extract the zip contents.

Copy the apache tomcat folder contents to a favorable location on the computer.

 

The bin folder contains the .sh scripts and .bat scripts to start and stop the server.

On the Windows platform, we need .bat scripts.

Set JAVA_HOME

https://www.testingdocs.com/questions/how-to-set-java_home-on-windows/

Start Server

Run the startup.bat script to start the tomcat server.

F:\>cd apache-tomcat

F:\apache-tomcat>cd bin

F:\apache-tomcat\bin>startup.bat
Using CATALINA_BASE: “F:\apache-tomcat”
Using CATALINA_HOME: “F:\apache-tomcat”
Using CATALINA_TMPDIR: “F:\apache-tomcat\temp”
Using JRE_HOME: “C:\Program Files\Java\jdk-12.0.2”
Using CLASSPATH: “F:\apache-tomcat\bin\bootstrap.jar;F:\apache-tomcat\bin\tomcat-juli.jar”

 

 

Install Verification

After a clean startup, open the default URL on the browser.

For Example http://localhost:8080

We should get the tomcat webpage displayed. ”

If you’re seeing this, you’ve successfully installed Tomcat. Congratulations!

 

 

Java Tutorials

Java Tutorial on this website:

https://www.testingdocs.com/java-tutorial/

For more information on Java, visit the official website :

https://www.oracle.com/java/

 

Exit mobile version