Javier,
I'm trying to compile my first servlet but I�ve
problems with javac.


If I try to run javac without parameters I receive the
message:

Exception in thread "main"
java.lang.NoClassDefFoundError:
com/sun/tools/javac/Main

So, this happens if you invoke javac both with and without parameters? I'd say that's less than "rare".


Is %JAVA_HOME%\bin in your path?

Does %JAVA_HOME%\lib\tools.jar exist? If not, re-install your JDK, cause it's broken.

-chris


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to