How to install java jdk 7 on Snow Leopard

The problem is that Oracle ships the Mac version of the JDK 7 installer with a builtin restriction: it'll only install on Mac OS X 10.7.* and above. It's fairly easy to work around this. You can do it either with Pacifist (a 3rd party shareware app) or the PackageMaker app which is installed with (some versions of) Xcode Tools into /Developer/Applications/Utilities/