This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

autoexec.bat

 
jesse jay
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to get the jswdk to work on my win98 box. When I try to compile servlets the compiler tells me it can't find the classes it needs. I have modifien my autoexec.bat file to include
set CLASSPATH=.;C:\jswdk-1.0.1\lib\servlet.jar;C:\jswdk-1.0.1\lib\jspengine.jar %CLASSPATH%
as the last line in the file
I have also modified startserver for JAVA_HOME
where exactly in the autoexec file should this statement be?
could anyone send me their autoexec file as a guide to set up mine?
any help appreciated
jesse
jessejay@email.msn.com
 
Greg Glassman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first one is the autoexec.bat modification. Copy the second one into your "startserver.bat" file when editing. If you are using the JDK 1.2X then modify accordingly.
I had a rough few days trying to get it to work. The reason I am showing the "startserver.bat" modification is due to the amount of time I wasted trying to mull over the classpath setting when it was the batch file that needed attention.
Good luck, and if you need further help, let me know:
gdglassman@yahoo.com

SET CLASSPATH=.;C:\jswdk-1.0.1\lib\servlet.jar;C:\jswdk-1.0.1\lib\jspengine.jar;C:\jdk1.3\lib\tools.jar

start c:\jdk1.3\bin\java.exe com.sun.web.shell.Startup %1 %2 %3 %4 %5 %6 %7 %8 %9
remjava com.sun.web.shell.Startup %1 %2 %3 %4 %5 %6 %7 %8 %9
 
Sarada Bhasker
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Greg. This post was very useful for me.
 
They weren't very bright, but they were very, very big. Ad contrast:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!