Radio Pulze, NUS’ campus intranet radio station, is powered by a Mac Hub set up by the Centre for Instructional Technology (CIT), with Xserve G5s, RAIDs, and other drool-worthy Apple gear. How’s that for some cool use of technology!
Thanks to Mr Victor Pang from CIT who sent this in!
Accessories & Goodies, NUS
This is especially relevant for SoC students who do a lot of programming in Java, and are required to use Java 1.5…
Warning: The following steps require a trip into the Terminal! Lines starting with $ refer to commands that you have to type.
Firstly, check which version of Java you’re currently using:
$ java -version
You will see something like this:
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
If it says 1.5.0, well and good. If like the above it says 1.4.2, you’ll need to do more work…
$ cd /System/Library/Frameworks/JavaVM.framework/Versions
$ sudo mv CurrentJDK CurrentJDK.old
$ sudo ln -s 1.5 CurrentJDK
(note that sudo will require you to type in your password.)
Do an ls -l and if all went well, you should see CurrentJDK pointing to 1.5:
$ ls -l
total 40
lrwxr-xr-x 1 root wheel 5 Nov 16 11:02 1.3 -> 1.3.1
...
drwxr-xr-x 6 root wheel 204 Mar 14 11:00 A
lrwxr-xr-x 1 root wheel 1 Mar 27 16:45 Current -> A
lrwxr-xr-x 1 root wheel 3 Mar 27 16:45 CurrentJDK -> 1.5
lrwxr-xr-x 1 root wheel 5 Sep 14 2005 CurrentJDK.old -> 1.4.2
Finally, check your Java version again:
$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83)
Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing)
Voila!
Here are a couple of links you can check for more information:
Using Java 1.5 on Mac OS X Tiger
How To Use Java 1.5 As Your Default Java In Tiger
NUS, Technical Support

I can’t believe I hadn’t already put this up, but here’s a great guide to setting up your Mac for printing to SoC printers:
Adding SoC network printers to Mac OS X 10.4 (Tiger)
NUS, Technical Support
Recent Comments