Tomact Operating Environment Construction

Source: Internet
Author: User
Tags tomcat server

Tomcat server is a free open source Web application server, belongs to the lightweight application server, in small and medium-sized systems and concurrent access users are not widely used, is the first choice to develop and debug JSP programs. --Baidu Encyclopedia

So our small project has to be able to run in a tomact environment, but when you manually click on the startup item, it just flashes through:

Later access to information learned: Tomact is a lightweight container, he belongs to the third-party software, so although good, but still have to be in the Java environment to take effect, DOS Windows run Startup.bat, found missing java_home, figure:


Java_home point to the JDK installation path, such as my installation path "C:\Program files\java\jdk1.8.0_51", then I just need to let the Java_home value for this path can be, the diagram:

In this way, the Java environment is built successfully and the results are:

Of course, the goal of setting the environment variable is to get it to find the path to the JDK, and we can write this in the Startup.bat directly:


The advantage of setting environment variables is that as long as the Java environment is required to take effect, if written into code, then the benefit is only tomact yourself! No matter what method you use, just be able to find the JDK, so you can run successfully.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Tomact Operating Environment Construction

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.