Tomcat7.0 configuration under the WIN10 system

Source: Internet
Author: User
Tags apache tomcat

Why not use a later version of Tomcat? Several teachers say that the 7.0 version is best, so it's recommended. Before Ann Tomcat, my computer was loaded with JDK 9, installed several times Apache can not boot, the log shows that the "Boot error CREATEJAVAVM Failed system cannot find the file specified." Classmate said JDK 8 can, I changed 8, sure enough once succeeded, the following is the step.

Install JDK 8 First, this everyone knows, I will not repeat, and then go to download Tomcat 7.0 This is the address http://mirrors.hust.edu.cn/apache/tomcat/tomcat-7/v7.0.82/bin/ Apache-tomcat-7.0.82.exe

Double-click Install, Continuous dot "Next", to this interface, path to select the folder you installed the JRE,

Next, this path is the installation path, it is best to choose a short path to the folder, my C:\Tomcat 7.0

Then we started to configure the environment variables, and here we use the environment variables of the JDK, so I'll write the JDK environment variables as well:

Configure the JDK environment variable in the system environment variable:

1. New, variable name: Java_home variable Value: C:\Program files\java\jre1.8.0_131 (the path where the JRE is installed)

2. New, variable name: CLASSPATH variable value:.; %java_home%\lib (If you have this variable name, you don't have to create a new one, just add it to the bottom line)

3. Variable name: PATH variable Value:%java_home%\bin

Configuration of Tomcat:

1. New, variable name: Tomcat_home Variable Value: C:\Tomcat 7.0

2. New, variable name: Catalina_home Variable Value: C:\Tomcat 7.0

3. Variable name: Path Plus:%catalina_home%\bin;%catalina_home%\lib

By the end of this configuration, open Apache Tomcat 7.0, click Start to launch, then open the browser, enter in the Address bar: localhost:8080, this page appears to be successful

Please correct me for what's wrong!

Tomcat7.0 configuration under the WIN10 system

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.