Title: Why do I get the error "java.lang.NoClassDefFoundError: com/sun/tools/javac/Main" ?

This error means that the Java Compiler cannot be found in the CLASSPATH.

Ensure that the library $JDK_HOME/lib/tools.jar appears in the CLASSPATH.

Authored by: Veryant Support on Thu, Dec 4th, 2014 at 7:00 PM
This question has been viewed 5773 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=239

Powered by PHPKB Knowledge Base Software