I didn’t find any clear instructions on upgrading the JDK on OS X so I thought I’d share my findings.
First off, apparently Software Update does not automatically update the JDK. You have to manually download and run the updates. There are four updates to “Java for Mac OS X 1.5”. Since I couldn’t tell whether they were cumulative or not, I just downloaded and installed each one in sequence:
Download Serato Dj Os X 10.5.8 - real advice.
As for the 78MB Java for Mac OS X 10.6 download, it updates Java SE 6 to version 1.6.020. It’s aimed at Mac OS X 10.6.3 and later. Both downloads are available via Software Update as well as. The last time this kind of thing bit me I was inadvertently installing the run-time Java (which is what Apple usually provides a link to) on my server, not the full Java SDK (which has the compilers and stuff you need to do developmentn).
Now you’d think you’d be done, but those updates only install JDK 1.6—they don’t make it the default. The way I did that was to change a link in the Framework:
Now I see:
Java 1.6 Download Free
Now to see if it really works…
Java 1.5 Download Windows 10
**Update 1 **8/7/09: That link I created wasn’t quite right in the original post. It was creating a link with an absolute path. This apparently caused the Java Preferences app to fail to start and also caused WebKit/Safari to crash on all but the simplest web pages. Wierd. Corrected link creation above.