banner



How To Set Path For Tomcat Server In Windows 10

Tomcat server is a free open source spider web application server, which belongs to lightweight awarding server. It is widely used in minor and medium-sized systems and where at that place are not many concurrent users. It is the commencement option for developing and debugging JSP programs. This paper mainly describes the installation of Tomcat server and the configuration of surroundings variables in Windows environs

Download and install JDK

To install Tomcat server, you must kickoff install and configure JDK. You tin refer to JDK installation and environment variable configuration

Windows + R, then enter CMD to enter the command line window to check whether Java is installed correctly. The check command isjava -version

If the output is similar to the following, the installation is successful

                              java version "ane.8.0_191" Java(TM) SE Runtime Environment (build 1.eight.0_191-b12) Coffee HotSpot(TM) 64-Fleck Server VM (build 25.191-b12, mixed manner)            

Download Tomcat parcel

Tomcat includes tomcat7, tomcat8 and tomcat9. At nowadays, enterprises employ tomcat8 more, then tomcat8 is listed here

Go to tomcat8 download website: tomcat8 download website https://tomcat.apache.org/download-80.cgi

Click the corresponding version nether download on the left,Here I download 64 bit windows goose egg, that is, windows 64 bit zip packet

In that location are three chief installed versions of Tomcat

  • tar.gz : compression parcel in Linux surroundings, no installation
  • Windows.naught : Windows compression parcel, no installation, decompression and use,Recommended installationAt the aforementioned fourth dimension, pay attention to download the respective compression package co-ordinate to whether your computer is a 64 bit system or a 32-chip organization
  • Windows service installer: windows installation package, which is applicative to both 32-scrap and 64 bit versions of windows system

在这里插入图片描述

Decompress Tomcat bundle

Put the downloaded zip package to the specified location,Notation: the path cannot have Chinese and special characters

My zippo package is inC:\develop\Tomcat

在这里插入图片描述

And so unzip it to the electric current folder

在这里插入图片描述

Tomcat directory structure

The directory construction after decompressing Tomcat is shown in the figure below

在这里插入图片描述

Specific directory file function tin can refer to the Tomcat directory structure, the description is very detailed

Start Tomcat

Double click in the bin directory of Tomcat to run startup.bat File, if the following interface appears, it indicates that your Tomcat server has been running successfully, like yourself.

在这里插入图片描述

So type in the browser address bar127.0.0.1:8080perchancelocalhost:8080You lot tin enter the Tomcat main interface

在这里插入图片描述

Nevertheless, some partners will run across various problems when starting tomcat, such as Tomcat startup.bat There are some bug such as garbled lawmaking, port occupation and flashing back afterward startup. For details, please refer to the solution of Tomcat garbled code and port occupation

Environs variable configuration

The environment variable configuration of Tomcat is well-nigh the same equally that of JDK, simply the variable name and corresponding path are modified. The specific operations are as follows.

be conscientious: if you don't always demand to apply Tomcat globally, I don't recommend setting surroundings variables, because it may conflict with other commands and is not used as much equally JDK. In fact, it is convenient to direct enter the Tomcat directory to starting time.

stayThis computerRight clickattribute

在这里插入图片描述

Click Advanced organisation settings, and then click surroundings variables.

在这里插入图片描述

New > variable name "Catalina"_ "Domicile", the variable value is "C: development / Tomcat / apache-tomcat-8.5.47" (i.e. the installation path of Tomcat)

在这里插入图片描述

Discover the variable name "path" in the system variable, click Edit, and and so click "new", and then enter "Catalina"_ Click OK, and and then click OK.

在这里插入图片描述

Test whether the surroundings variables are configured successfully, windows + R, so enter CMD to enter the control line window. The command checked is startup.bat

If the output is as follows, the configuration is successful

在这里插入图片描述

summary

The in a higher place is a detailed tutorial on installing Tomcat server and configuring surround variables on win10. I promise information technology will be helpful to you lot. If yous take whatever questions, please leave me a message, and the editor volition reply to you lot in fourth dimension. Cheers very much for your back up to the developeppaer website!
If you lot think this article is helpful to you, welcome to reprint, please indicate the source, thanks!

Source: https://developpaper.com/how-to-install-tomcat-server-and-configure-environment-variables-on-win10/

Posted by: banksyessist.blogspot.com

0 Response to "How To Set Path For Tomcat Server In Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel