Tomcat 8 configuration in win8.1

Source: Internet
Author: User

To configure the JDK:

Three steps:

1. Environment variables = new Java_home C:\Program files\java\jdk1.8.0_40

2. Environment variables = new Class_path.; %java_home%\lib\dt.jar;. %java_home%\lib\tools.jar

3. System variable =>path, add:; C:\Program files\java\jdk1.8.0_40\bin;

C:\Program Files\java\jdk1.8.0_40\jre\bin

You can test in cmd at this point:

1.java-version

2.javac-version

Two success indicates that the JDK configuration was successful or the configuration failed

Click Startup.bat under Tomcat under the Bin directory to start the presence

Note the following 1407ms, which indicates that a normal start occurs when the time is present.

Attention

1. This time is not necessarily the same, the machine is different, the time is different

2. If the JDK configuration is successful, but this startup error, generally is D:\tomcat\conf\server.xml file error, so you need to change the file

Tomcat 8 configuration in win8.1

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.