wood burning stoves
The moose likes Tomcat and the fly likes how to set catalina home Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to set catalina home" Watch "how to set catalina home" New topic

how to set catalina home

komala nilima

Joined: May 06, 2005
Posts: 8
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
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

In a command prompt:

[How To Ask Questions On JavaRanch]
komala nilima

Joined: May 06, 2005
Posts: 8
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
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
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.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: how to set catalina home
It's not a secret anymore!