Windows Tomcat Zip Decompression installation method

Source: Internet
Author: User

The following is a record of the Win7 (32-bit) system, the installation of the Zip decompression version of the method:

First, download the ZIP archive package

Address: http://tomcat.apache.org/download-80.cgi

Second, decompression

I unpacked the decompression package on the D disk, the specific path is: D:\Java ide\apache-tomcat-8.0.39

Third, configure JDK to Tomcat

There are two files in the bin directory under the Tomcat installation directory, Startup.bat and Shutdown.bat,

Use Notepad to open, append a new line to the next line of "@echo off" in the first row, and add "SET java_home=d:\jdk1.8.0_111"

This is my JDK installation path, and I have added this variable to the environment variable.

Iv. opening and closing of Tomcat

At this point, the Startup.bat file is used to open the Tomcat,shutdown.bat file to close Tomcat,

You can also add the path of the bin directory to the environment variable in order to use command-line operations by double-clicking the mouse.

When Tomcat is started, Tomcat runs, and the cmd window pops up and is accessible in the browser: http://localhost:8080

If the following screen appears, the configuration is successful.

Here's how to configure Tomcat in Eclipse and add a Web project:

Click on the toolbar above Eclipse Window=>show View=>servers, the following window appears below, and in the blank place right-click New=>server

Click Finish.

Then create a new Dynamic Web project with target runtime to select the new server in the previous step

Finally, when the project is finished, the project is added to the server when the debugging is running.

Cond...

Windows Tomcat Zip Decompression installation method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.