# autoexec.bat

jesse jay
Greenhorn
Posts: 11
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
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