It's not a secret anymore!
The moose likes Servlets and the fly likes Tomcat installation 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 » Java » Servlets
Bookmark "Tomcat installation" Watch "Tomcat installation" New topic

Tomcat installation

madhur jain
Ranch Hand

Joined: Aug 27, 2002
Posts: 49
i have the following statements in the autoexec.bat
set JAVA_HOME= C:\jdk1.3.0_02
set CATALINA_HOME=C:\windows\desktop\jakarta-tomcat-4.0.5
still after starting startup.bat file it says:
the JAVA_HOME variable is not defined correctly
this env. variable is needed to run this program
Label not found.
i have already fixed the out of env. memory prob.
can someone help
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Try to change 'set' to 'SET' in 'autoecex.bat'

Regards, Rene Larsen
Dropbox Invite
Ashok Mash
Ranch Hand

Joined: Oct 13, 2000
Posts: 1936
Which operating system are you on? If its either Windows 2000 or XP, setting env. variable in autoexec.bat is not the right way of doing it.
If you are on XP or 2000, User/System variables sections of Advanced Tab of System Properties screen (you can access this from Control Panel) is where you need to set these variables. Its the same for NT as well, I guess.
Autoexec.bat will work only with Windows98 and older versions.
Hope this helps!
[ October 05, 2002: Message edited by: Ashok Manayangath ]

[ flickr ]
I agree. Here's the link:
subject: Tomcat installation
It's not a secret anymore!