how to set catalina home (Tomcat forum at Coderanch) (original) (raw)

posted 19 years ago

i downloaded the tomcat5.0.27 as a zip file. I din't find any exe file in that and tell me how to set catalina home pls tell it by taking ur own path as example.

thank u in advance

posted 19 years ago

In a command prompt:

komala nilima

Greenhorn

Posts: 8

posted 19 years ago

still the path is not set.By doing that also the msg shows like this This environment variable is needed to run this program

%CATALINA_HOME% means we have to give the previous path i.e c:\software\tomcat5.0.28

sir pls tell me this more clearly sir

Thank u once again for replying me sir

posted 19 years ago

Try editing your autoexec.bat file. Please bare with me, it has been awhile since I used DOS.

Then insert the following:

Then reboot your PC.

Open up a DOS window and echo the following commands, but I like to cd to the environment variables, this will tell me if I set them correctly:

Like I stated earlier, it has been awhile since I used DOS, so "buyer" beware.
I hope this helps.

Author and all-around good cowpoke

Posts: 13078

posted 19 years ago

To set environment variables that are always there as opposed to only being valid in one Command Prompt, use the Control Panel -> System -> Advanced -> Environment Variables dialog.
Bill