wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes TOMCAT Environmental Variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "TOMCAT Environmental Variables" Watch "TOMCAT Environmental Variables" New topic
Author

TOMCAT Environmental Variables

munna next
Ranch Hand

Joined: Sep 28, 2004
Posts: 46
I have Installed TOMCAT in my machine and I am trying to start and stop the service.
I am just reading that inorder to start and stop the service I need to setup Environmental variables
JAVA_HOME and CATALINA_HOME.
Can you please tell me what exactly (Up to which folder) I need to create these Environemntal variables ?

My JDK at C:\Program Files\Java\j2sdk1.4.2_03\bin
Tomcat at C:\Program Files\Canto\Tomcat\bin

Thanks for your time.
Lalitha Mouli
Greenhorn

Joined: Oct 31, 2004
Posts: 6
Lalitha Mouli
Greenhorn

Joined: Oct 31, 2004
Posts: 6
In general JAVA_HOME should point to the root directory of the Java installation, in your case it would be "C:\Program Files\Java\j2sdk1.4.2_03"

And with respect to Tomcat, it should be "C:\Program Files\Canto\Tomcat\"

Cheers
mouli.
munna next
Ranch Hand

Joined: Sep 28, 2004
Posts: 46
Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: TOMCAT Environmental Variables
 
Similar Threads
Tomcat as a service
Windows Services & Locale/Robot
EE javac
trying to get started with head first java
Head First BeerSelect problems