We’re in the midst of rolling out a new image to our macs on 10.8.2. Historically Java has not been needed but we added the latest Java 7 update as a matter of course, but post-rollout people now require Java 6 (how often does that happen?).
This new requirement came in just after Apple disabled Java 6 on 10.7+ Macs (as detailed a little here: http://managingosx.wordpress.com/2013/01/31/disabled-java-plugins-xprotect-updater/ ).
Greg Neagle & Rich Trouton have several solutions in re-enabling the various parts needed to get Java 6 working (however they required an order which I was not following Java 6 had never been installed as part of my image.
Greg Neagle & Rich Trouton have both kindly allowed me to link their respective solutions & amalgamate them into the script linked below, the pre-reqs are to have a mac with Java 7 then install Java 6.
Once done, running the below should end up with Java 6 being re-enabled (once all browsers have been relaunched).