Menu

#126 No Compiler Error message should be more specific

open
nobody
5
2003-02-04
2003-01-31
No

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."

Discussion

  • Charles Reis

    Charles Reis - 2003-02-04
    • labels: --> Compiler integration
    • milestone: --> Small (< 1 pair-week)
     
  • Charles Reis

    Charles Reis - 2003-02-04

    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.)

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.