If you are using a Mac at home and you would like to install DrJava, you should follow these instructions. Note: you must be running Mac OS X v10.4 (Tiger) in order to use Java 1.5 (some parts of CS133 require the use of Java 1.5).
Installing Java 1.5 | |
1 | Go to this
Apple web page and click on the down arrow around the right side of the
page to download Java 1.5, and install it. |
2 | Open Terminal, which is in Applications, in Utilities, which brings you the Unix command line. |
3 | Change your working directory to the Java Versions directory: type
cd /System/Library/Frameworks/JavaVM.framework/Versions at the prompt and hit return.
|
4 | Remove the link CurrentJDK which points to 1.4.2 and replace it with a link pointing
to 1.5.0 with these two commands (you will need an administrator password):sudo rm CurrentJDK and then sudo ln -s 1.5.0 CurrentJDK and then close the terminal. |
Installing DrJava |
|
4 | On the DrJava homepage, click the Download Mac OS X App button under the heading "Current Stable Release". |
5 | Select any of the mirrors (it doesn't matter which) by clicking the appropriate icon. |
6 | Save this file on your computer and install DrJava. |
Now follow the Library
Instruction page to configure your version of DrJava at home to use
the Board
and Coordinate
classes.