Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tomcat installation on win98  RSS feed

 
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.
 
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
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!