• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Autoexec.bat and tomcat

 
connie lindstrom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Thought this message was submitted yesterday, but do not see it posted, may have sent it without a subject. Please disregard if looks familiar. . Anyhow, searched the archives, and cannot find a problem similar to mine. If this has already been addressed, please link me to the appropriate mail.
Installed Apache 1_3_14_win32_r2 on my Win98. Changed ServerNane to localhost. Can call up a browser, type in localhost, and the apache html that. page that starts � If you can see this, it means that the installation . . � pops right up, everything seems Ok.
On to installing tomcat3.1, edit my autoexec.bat, add JAVA_PATH, TOMCAT_PATH, and SET CLASSPATH. Autoexec.bat now looks like this �

All tomcat files are unzipped below the Jakarta-tomcat directory per the default installation.
Why does the message �Bad command or file name� appear with each of the three new lines, in this case, the last three lines of my autoexec.bat, upon reboot? Yes, locahost still works with the browser.
Regards, connie

------------------
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to put a SET at the start of each line. These new lines are setting an environment variable, just as the SET PATH line does, so you should use the same syntax.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic