Pessoal, instalei o jswdk para windows, mas ao disparar o startserver.bat
aparece a seguinte mensagem de erro:

>>>
JSWDK WebServer Version 1.0.1
Loaded configuration from: file:C:\Program Files\jswdk-1.0.1\webserver.xml
warning: The following class is required by JSWDK but
was not found:

 sun.tools.javac.Main

Quite often this warning is a result of not including the
necessary packages in the CLASSPATH environment which was
used to invoke com.sun.web.shell.Startup. This can be corrected
by adding the following to your CLASSPATH environment variable
and restarting JSWDK:

 for jdk 1.2.x on unix:
 % CLASSPATH=[jdkHome]/lib/tools.jar:$CLASSPATH; export CLASSPATH

 for jdk 2.1.x on windows:
 % CLASSPATH=[jdkHome]\lib\tools.jar;%CLASSPATH%

 for jdk 1.1.x on unix:
 % CLASSPATH=[jdkHome]/lib/classes.zip:$CLASSPATH; export CLASSPATH

 for jdk 1.1.x on windows:
 % CLASSPATH=[jdkHome]\lib\classes.zip;%CLASSPATH%

 where [jdkHome] represents the location of your jdk
 installation directory
endpoint created: localhost/127.0.0.1:8080


Meu AutoExec.bat est� abaixo:


>>>
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb br,,C:\WINDOWS\COMMAND\keyboard.sys
C:\WINDOWS\a3init.exe
SET JAVA_HOME=C:\"Program Files"\jdk1.2
PATH=%PATH%;"C:\Arquivos de programas\Mts";%JAVA_HOME%\bin
SET CLASSPATH=%JAVA_HOME%\lib\tools.jar;C:\"Program
Files"\jswdk-1.0.1\lib\servlet.jar


Se algu�m puder ajudar, agrade�o, pois apesar da mensagem indicar que pode
ser erro no CLASSPATH, parece tudo certo. Pode ser porque estou usando o
jdk1.2 ao inv�s do jdk1.2.2?

Obrigado.
Dailton.

-----
Dailton Santana de Almeida
[EMAIL PROTECTED]

    --------------------------- LISTA SOUJAVA ---------------------------
    http://www.soujava.org.br  -  Sociedade de Usu�rios Java da Sucesu-SP
    [d�vidas mais comuns: http://www.soujava.org.br/faq.htm]
    [para sair da lista: http://www.soujava.org.br/forum/cadastrados.htm]
    ---------------------------------------------------------------------

Responder a