Installation Instructions for Mac OS X Users
  1. Install the JDK:
    Mac OS X comes with a version of the JDK already installed, so you may not need to install anything! However, if you end up encountering trouble using DrJava, you may want to try installing an update to the JDK:
    1. Go to the Java page on the Apple website.
    2. Click on the link in the right-hand column labeled "Java Downloads", which will bring you to another page.
    3. Click on the appropriate download link for your version of OS X and download the file.
    4. Once it has downloaded, double click on it and follow the installation instructions.

  2. Install DrJava:
    1. Go to the DrJava website.
    2. Click on the button labeled "Download Mac OS X App" and download the file.
    3. Double-click the .tar.gz file to extract the DrJava application.
    4. Drag DrJava.app to your Applications folder for permanent storage.
    5. Add the DrJava application to your dock for quick access.
    6. Double-click on the DrJava icon to start the program.
    7. Once it starts up, look in the lower right-hand corner of the DrJava window. Under the Compiler heading, you should see some version of the JDK listed. If you see "None", you may need to search for a file named tools.jar on your computer and specify its location manually by using the Edit->Preferences menu in DrJava. See the following page for more information: http://drjava.org/faq.shtml#no-compiler
    8. Select the Preferences option from the Edit menu in DrJava and do the following:
      • Click on Display Options in the Categories pane and click on the checkbox for "Show All Line Numbers".
      • Click on Miscellaneous option in the Categories pane and change the Indent Level setting to 4.