Install Tomcat on Windows

Source: Internet
Author: User
Tags zip tomcat
Who: He Zhiqiang [hhzqq@21cn.com]
Date: 2000-07-19
2000-08-10
Version: 1.0
I. Software download
JDK 1.2.2
Http://java.sun.com/products/jdk/1.2/download-windows.html
Ftp://ftp.java.sun.com/pub/jdk/1.2.2/nn234097-122006/jdk-1_2_2_006-win.exe
JDK 1.2.2 Documentation
Http://java.sun.com/products/jdk/1.2/download-docs.html
Ftp://ftp.java.sun.com/pub/jdk/1.2/aslwei001/jdk1_2_2-001-doc.zip
Tomcat 3.1
Http://jakarta.apache.org/tomcat/
Http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/jakarta-tomcat.zip
II. Install JDK
1. Run the downloaded JDK executable file. For Windows 9x, note that the directory name cannot exceed 8 bits and should not be. for example, the directory name cannot be jdk1.2.2, which affects the setting of environment variables. You can change it to jdk.
2. Set the environment variable JAVA_HOME. Its value is the full path of the JDK installation directory (do not end with it)
3. Append the jdk bin directory to the PATH environment variable.
3. Install Tomcat
1. Decompress the downloaded Tomcat compressed file to the installation directory. For Windows 9x, note that the directory name cannot exceed 8 characters. For example, the directory name cannot be jakarta-tomcat, this will affect the setting of environment variables. You can change it to tomcat.
2. Set the environment variable atat_home. Its value is the full path of the Tomcat installation directory (do not end with it)
3. startup. bat in the bin subdirectory of the Tomcat installation directory is used to start the service. shutdown. bat is used to stop the service and the default port of the service is 8080.
4. Start the service and enter http: // localhost: 8080/in the browser to check whether the installation is successful.
IV. Environment variable settings
Windows 9x:
Set in C: autoexec. bat, for example:
Set JAVA_HOME = C: JDK
Set PATH = % JAVA_HOME % in; % PATH %
Set TOMCAT_HOME = C: TOMCAT
Restart the computer after setting.
NT:
In the "system" window of "control panel", set in the "environment" column. After setting, you do not need to restart the computer.

Related Article

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.