So I wrote the following simple UNIX shell script to allow me to easily switch between the different Java versions I have installed.
Since I develop and test Java apps on different JDK versions, this was a necessity for me. Unfortunately, even using the bundled Java Preferences app, I could find no easy way to change the version of Java used by the java and javac commands in Terminal. I recently downloaded and installed Apple's Java 1.5.0 update for Tiger.