#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    I am trying to set up Tomcat on a Win98 machine. This is what I am typing into the DOS prompt

    C:\TOMCAT>SET JAVA_HOME=C:\JDK

    C:\TOMCAT>SET TOMCAT_HOME=C:\TOMCAT

    C:\TOMCAT>SET PATH=*PATH*;C:\JDK\BIN
    C:\TOMCAT>BIN\STARTUP

    Things seem to go fine up to this message "starting Tomcat in a new window"

    Then I get "Bad command or file name" and then I am returned to "C:TOMCAT>"

    Any help would be great Thanks in advance Marcko

    Comments on this post

    • JimmyGosling agrees
    • Gran Roguismo agrees
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Posts
    0
    Rep Power
    0
    Try to shutdown the server afterwards. Sometimes this comes up with better errors to help you locate the problem e.g incorrect format in the server.xml file.

    You may also need the JSWDK from sun and set your classpath to point to this
    eg set CLASSPATH=c:\jswdk\lib\servlet.jar

    Hope this helps

    Comments on this post

    • JimmyGosling agrees
    • BaronVonDoppleG agrees

IMN logo majestic logo threadwatch logo seochat tools logo