aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat installation" Watch "Tomcat installation" New topic
Author

Tomcat installation

madhur jain
Ranch Hand

Joined: Aug 27, 2002
Posts: 49
i have the following statements in the autoexec.bat
file
set JAVA_HOME= C:\jdk1.3.0_02
set CATALINA_HOME=C:\windows\desktop\jakarta-tomcat-4.0.5
PATH=C:\orawin95\bin;c:\jdk1.3.0_02\bin
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
madhur
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

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


Regards, Rene Larsen
Dropbox Invite
Ashok Mash
Ranch Hand

Joined: Oct 13, 2000
Posts: 1936
Madhur,
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: http://aspose.com/file-tools
 
subject: Tomcat installation