Configuring Tomcat7.0.22 under Windows

Source: Internet
Author: User

tomcat7.0.22 configuration:

First, JDK1.7 installation
1. Download jdk,:http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
2. Add system environment variables, my computer, properties---Advanced environment variables (if the environment variable you added already exists, click "Edit" to add it, or click "New" to 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 the 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", the value of the variable is separated by a semicolon, the value of the variable does not need a semicolon at the end)
3, "Start", "Run", input cmd, enter "Java-version", "Java", "Javac" several commands at the command prompt, the screen shows that the environment variable configuration is successful

Second, Tomcat7.0.22 installation configuration
1. Download tomcat7.0.22: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 (the directory that Tomcat extracted to)
(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, enter startup.bat at the command prompt, then the Tomcat command box will appear, output the boot log;
Open the browser input http://localhost:8080/and see the Tomcat Welcome interface, which indicates the configuration was successful.

Configuring Tomcat7.0.22 under Windows

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.