This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes tomcat installation on win98 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 on win98" Watch "tomcat installation on win98" New topic
Author

tomcat installation on win98

shabbir zakir
Ranch Hand

Joined: Nov 12, 2000
Posts: 183
hi!
I have installed tomcat on my computer.I have set the classpath
in the autoexec.bat file in this way.
SET JAVA_HOME=C:\jdk1.2.1
SET TOMCAT_HOME=C:
SET PATH=%PATH%;C:\tomcat\jakarta\bin
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.1\lib\tools.jar
set CLASSPATH=c:\tomcat\jakarta\lib\ant.jar;c:\tomcat\jakarta\lib\jasper.jar;c:\tomcat\jakarta\lib\jaxp.jar;c:\tomcat\jakarta\lib\parser.jar;c:\tomcat\jakarta\lib\servlet.jar;c:\tomcat \jakarta\lib\webserver.jar
Now when i start the startup command for the dosprompt it executes the batch file and at the end it gives the error badcommand or file name.
Can someone pls help me in this.Thanks in advance.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

SET TOMCAT_HOME=C:
SET PATH=%PATH%;C:\tomcat\jakarta\bin

If your bin folder of Tomcat is in C:\tomcat\jakarta
then your TOMCAT_HOME variable is wrong. It should be :
SET TOMCAT_HOME=C:\tomcat\jakarta
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
Don't get me started about those stupid light bulbs.
 
subject: tomcat installation on win98