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.