• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

tomcat installation on win98

 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic