On Sun, 20 Jan 2002, Nikhil Joshi wrote:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
It seems you haven't set ur CLASSPATH environment variable properly.The CLASSPATH environment variable tells the Java Virtual Machine and other Java applications (for example, the Java tools located in the jdk1.3.x\bin directory) where to find the class libraries. you can set ur classpath using set command. You should set classpath to ur_jdk_directory_path/lib/tools.jar;ur_jdk_directory_path/jre/lib/rt.jar.
-Dharmesh