File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat installation on win98" Watch "tomcat installation on win98" New topic

tomcat installation on win98

shabbir zakir
Ranch Hand

Joined: Nov 12, 2000
Posts: 183
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 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 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
- satya

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: tomcat installation on win98
It's not a secret anymore!