Having successfully figured out the source of my
mysterious "No Compiler Found" problem with DrJava, I
think DrJava should make this error message more
specific. Particilarly, DrJava should think something
fishy is going on if it cannot find a compiler in a user
specified file called tools.jar. DrJava ought to display an
error message along the lines of "Could not find compiler
in tools.jar" if it cannot find a compiler in tools.jar,
instead of simply displaying "No Compiler found."
Logged In: YES
user_id=429731
If you're interested in implementing this with a pair, take a look at the
setupCompilerIfNeeded method (and its helper) in DrJava.java. You
can modify the message as you see fit.
(Note that this case probably indicates that a developer does not have
../lib/compilers.jar on the classpath, but that can never be the case for
users, since compilers.jar is included in DrJava.jar. However, this
message might still be shown to users, since they could have an
invalid tools.jar. Just something to keep in mind as you reword it to be
more helpful.)