Configure jdk path for green tomcat

Source: Internet
Author: User
Tomcat/bin/add the SETJAVA_HOMEJDK directory SETCATALINA_HOME to the startup. bat file and the Tomcat directory SETJAVA_HOMEE: \ hi-studio \ jdk1.5SETCATALINA _ HOMED: \ ProgramFiles \ ApacheSoftwareFoundatio.

 

Tomcat/bin/add the following to the startup. bat file:

 

 

SET JAVA_HOME = JDK Directory

SET CATALINA_HOME = Tomcat directory after decompression

 

SET JAVA_HOME = E: \ hi-studio \ jdk1.5

SET CATALINA_HOME = D: \ Program Files \ Apache Software Foundation \ tomcat5.0.28

Tomcat6

 

Classpath =.; % java_home % \ lib \ tools. jar; % java_home % \ lib; D: \ Tomcat 6.0.18 \ lib \ servlet-api.jar;

 

Java_home = C: \ Program Files \ Java \ jdk1.6.0 _ 14;

 

Path = % java_home % \ bin; % java_home % \;.;

From YH55's column

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.