In revision 4698 and JDK 6.0_11, DrJava selects the following compiler for me:
"Compiler ready: JDK 6.0_11 from the runtime class path."
When I compile, I get the error message:
1 error found:
File: (no associated file) [line: (no source location)]
Error: java.lang.NoClassDefFoundError: com/sun/tools/javac/util/Context
If I enter the path for the tools.jar file, everything works. In the last version on http://www.cs.rice.edu/~javaplt/drjavarice/ this wasn't necessary, and it detected my tools.jar correctly. So something with detecting compilers went wrong after revision 4673.
The problem occurs right in the next revision, 4674. This was the revision where DJError was introduced to replace CompilerError as base class. I can't spot the problem, though.
Fixed in revision 4699.
The JDK6 compiler adapter was created and returned available even
if tools.jar was not found. In revision 4674, a test for the class
com.sun.tools.javac.main.JavaCompiler was removed, but this test
is essential for finding out whether the compiler (in the tools.jar)
file is available.