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.jar
file the first time you run DrJava. Assuming you have the 1.5 JDK installed correctly, tools.jar
should be in C:\Program Files\Java\jdk1.5.0\lib
.J2SE 5.0
to the top of the list. Click "Save" and close at your leisure. java
and javac
command-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 -verison
and 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/Versions
at the prompt and hit return.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
. (Close Terminal.)java
and javac
to point to Java 1.5.0 - under Fedora Core 3, java
ended up in /usr/java/jdk1.5.0_01/bin/java
and javac
in the same directory, so the relevant commands were sudo rm /usr/bin/java
and sudo rm /usr/bin/javac
, then cd /usr/bin
sudo ln -s /usr/java/jdk1.5.0_01/bin/java
and 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/plugins
and 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.