After that, you can use the following command to make Java 7 the active version to use: /usr/libexec/java_home -v 1.7.0_11 -exec javac -version
Once downloaded simply run the installer and it (should) install Java 7 properly on your system. As Apple actually only installs Java 6 (1.6.x) one needs to get Java 7 from the Oracle website at the Java SE download site. Today I set out to get Java 7 JDK running on MacOS X Mountain Lion (10.8.2).