Install Older Versions of Java on OSX 10.8.1

Solution 1:

You simply cannot get arbitrary Java versions for the Mac. Apple provides their own Java binaries and does not provide every single Java release. Also, those old versions have known security problems with active exploits in the wild, so it's dangerous to use them on a desktop system.

My best recommendation would be to create a Linux VM using VMware Fusion and install the old versions either from the Linux package installer or using packages downloaded from Oracle.