Feature Requests item #523222, was opened at 2002-02-26 17:23
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438938&aid=523222&group_id=44253
Category: Compiler integration
Group: None
Status: Open
Priority: 5
Submitted By: Brian Stoler (brianstoler)
Assigned to: Brian Stoler (brianstoler)
Summary: Prompt user for compiler if none found
Initial Comment:
I have resisted improving the configuration framework
until we create a better, more permanent solution.
However, Corky and Eric convinced me to implement this
fairly small new feature that will help a lot with new
users, preventing an annoying problem.
If, on startup, DrJava detects that no compiler was
found, it will tell the user and prompt him like this:
DrJava can not find any Java compiler. Would you like
to configure the location of the compiler? The location
of the compiler is generally "tools.jar", in the "lib"
subdirectory under your JDK installation directory. (If
you say "No", DrJava will be unable to compile
programs.) [Yes/No]
Note that this dialog will *only* come up if, at
startup, no compiler is available.
If the user says "Yes", a JFileChooser will come up,
allowing the user to select a .JAR file. If this jar
contains the compiler, the process ends. Otherwise, the
code will prompt the user: "This file does not appear
to contain the compiler. Would you like to try another
JAR?" And if yes, it'll try again. Etc.
If a valid JAR is selected, it will be updated in
DrJava for that session, *and* the properties file will
be re-saved with that new location included.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438938&aid=523222&group_id=44253
|