Comp201: Principles of Object-Oriented Programming I
Spring 2005 -- Configuring DrJava to find the tools.jar file   


Sometimes DrJava doesn't know where to find the main Java compiler located in the tools.jar file.  This file is installed when the Java SDK (JDK) was installed.   DrJava attempts to automatically find this file, but sometimes it cannot find it.   If there are multiple versions of the JDK installed, DrJava may not find all of the versions.

To manually configure DrJava to find the tools.jar file:

  1. From the main menu, select Tools\Preferences.
  2. In the Preferences, under the Resource Locations tab, click the browsing button ("...") on the "Tools.jar Location" field.
  3. Browse to the Java JDK installation directory, typically something like:  C:\Program Files\Java\jdk1.5.0_01
  4. Inside the installation directory, browse into the lib directory and select the tools.jar file.
  5. Click "Select" on the browsing dialog box and "OK" on the Preferences dialog box.

 

 

 

 


Last Revised Thursday, 03-Jun-2010 09:50:08 CDT

2005 Stephen Wong and Dung Nguyen