DrJava is an integrated development environment (IDE) developed at Rice University for writing Java programs. It was designed primarily for students, providing an intuitive interface and the ability to interactively evaluate Java code. It also includes powerful features for more advanced users, such as a full-featured debugger.
.jar
file or executable in a convenient location and set a
shortcut to it on your desktop.Refer to the DrJava page for instructions
on running DrJava on your platform. Normally, you can just double-click on the shortcut to the .jar
file or executable you downloaded.
When you run DrJava the first time, you may get the following message:
tools.jar
file. This file is
necessary to compile files and use the debugger. It is generally located
in the lib
subdirectory of your Java installation directory. Would you
like to specify its location? (If you say No, DrJava might be unable to
compile or debug programs.)If so, click Yes on the dialog box, navigate to the lib
subdirectory of the Java
installation directory (on my Windows XP machine, C:\Program
Files\Java\jdk1.5.0_01\lib\
), and select tools.jar
. See also the Preferences menu selection,
where you can also set the tools.jar
location. For an example, look here.