How to start a free-install version of Tomcat and add Tomcat to the service

Source: Internet
Author: User

1. Install the JDK and configure the environment variables

(1) Add F:\Program files\java\jdk1.8.0_25\bin in Path

(2) Add a java_home variable with a variable value of F:\Program files\java\jdk1.8.0_25

2. If Tomcat is a free-to-install version, after extracting to a directory, configure the environment variable

(1) Add a Catalina variable with a variable value of F:\apache-tomcat-7.0.61\apache-tomcat-7.0.61

Then click on Startup.bat under Tomcat's bin to run Tomcat.

3. If you want to add Tomcat to the service,

The Service.bat file is available in the bin directory of Tomcat, using which he can add Tomcat AS/remove the WindowA service.

In cmd service.bat install/remove [service_name] (where [service_name] is optional, your own name)

How to start a free-install version of Tomcat and add Tomcat to the service

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.