Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat installation on win98

 
shabbir zakir
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic