Installation Instructions for Mac OS X
Users
- 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:
- Go to the
Java
page on the Apple website.
- Click on the link in
the right-hand column labeled
"Java Downloads", which will bring you to
another page.
- Click on the appropriate download link for your version of OS X
and download the file.
- Once it has downloaded, double click on it and follow the
installation instructions.
- Install DrJava:
- Go to the
DrJava website.
- Click on the button labeled "Download Mac OS X App"
and download the file.
- Double-click the .tar.gz file to extract the DrJava
application.
- Drag DrJava.app to your Applications folder for permanent
storage.
- Add the DrJava application to your dock for quick access.
- Double-click on the DrJava icon to start the program.
- 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
- 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.