macosxhints - Easily switch the current default Java version
"I wrote the following simple UNIX shell script to allow me to easily switch between the different Java versions I have installed."