# TOMCAT Environmental Variables

munna next
Ranch Hand
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

Lalitha Mouli
Greenhorn
Posts: 6

Lalitha Mouli
Greenhorn
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
Posts: 46
Thanks