NOTE: DrJava should be available in all the dorm computer labs. If not, let us know by posting a message on the bulletin board.
Note also: These directions aim to get Java 1.5 and the DrJava's "Current Stable Release" working .
tools.jarfile the first time you run DrJava. Assuming you have the 1.5 JDK installed correctly,
tools.jarshould be in
J2SE 5.0to the top of the list. Click "Save" and close at your leisure.
javaccommand-line tools may not be immediately accessible; they are in
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands(/usr/bin/java is a link).
java -verisonand hit return. If the output is something like
java version "1.5.0_VV", you're all set. Otherwise, keep going.
cd /System/Library/Frameworks/JavaVM.framework/Versionsat the prompt and hit return.
CurrentJDKwhich points to
1.4.2and replace it with a link pointing to
1.5.0with these two commands (you will need an administrator password):
sudo rm CurrentJDKand then
sudo ln -s 1.5.0 CurrentJDK. (Close Terminal.)
javacto point to Java 1.5.0 - under Fedora Core 3,
javaended up in
javacin the same directory, so the relevant commands were
sudo rm /usr/bin/javaand
sudo rm /usr/bin/javac, then
sudo ln -s /usr/java/jdk1.5.0_01/bin/javaand finally
sudo ln -s /usr/java/jdk1.5.0_01/bin/javac.
java -jar drjava-stable-XXXXXXXX-XXXX.jar(from the directory you downloaded it to).
cd /usr/lib/mozilla/pluginsand then
sudo ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so— but don't count on that to work on every system.
If these instructions don't work for you, or you otherwise want more help, see the "DrJava Installation" section of the CSE1xx Forums.