Tomcat7.0.22 the detailed configuration process under Windows

Source: Internet
Author: User

First, JDK1.7 installation

1, download jdk, download address: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html

2, add system environment variable, my Computer-> attribute-> advanced-> environment variable (if the added environment variable already exists, click "Edit" Add, otherwise click "New" Add)

(1) Variable name: Java_home variable Value: D:\Program files\java\jdk1.6.0_29 (click "New", enter variable name, variable value, no semicolon required at the end of variable value)

(2) Variable name: CLASSPATH variable Value: D:\Program files\java\jdk1.6.0_29\lib\dt.jar;d:\program files\java\jdk1.6.0_29\lib\ Tools.jar ("New", no semicolon required at the end of the variable value)

(3) Variable name: Path variable Value: D:\Program files\java\jdk1.6.0_29\bin ("edit", variable values separated by semicolons, the value of the variable does not need a semicolon)

3, "Start"-> "Run"-> input cmd, in the command prompt input "java-version", "Java", "Javac" several commands, appear screen, indicating the success of environment variable configuration

Second, Tomcat7.0.22 installation configuration

1, download tomcat7.0.22 download address: http://tomcat.apache.org/download-70.cgi

2, add system environment variables, My Computer-> Properties-> advanced system settings-> environment variables (Operation IBID.)

(1) Variable name: Catalina_base variable Value: D:\Program files\apache-tomcat-7.0.22 (directory to which Tomcat is extracted)

(2) Variable name: Catalina_home variable value: D:\Program files\apache-tomcat-7.0.22

(3) Variable name: Catalina_tmpdir variable value: D:\Program files\apache-tomcat-7.0.22\temp

(4) Variable name: Path variable value: D:\Program files\apache-tomcat-7.0.22\bin

3, run Tomcat7.0.22, "Start"-> "Run"-> input cmd, input startup.bat at the command prompt, then the Tomcat command box will pop up, output start log; open Browser input http://localhost : 8080/, if you enter the Tomcat welcome interface, then congratulations, configuration success.

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.