Java SE Runtime Environment 7 enables support for running Java-powered applets and applications. This release includes fully supported JRE for Mac OS X 10.7.3 (Lion) and above. You can download the Mac OS X JDK and JRE from Java SE Downloads page.
If you are running a release of Mac OS X that includes Apple Java 6, for example 10.7.3, 10.7.4, 10.8.0, there is an important difference about the installation of Oracle Java (both JRE and JDK) that you should be aware of.
The Applications -> Utilities -> Java Preferences application is part of Apple's implementation of Java. Once Apple no longer distributes Java as part of their release, the Java Preferences application is retired.
Under Apple's implementation of Java, it was possible to have multiple JREs installed, and the Java Preferences app was used to.
- Launch Java Preferences. The Java Preferences window contains a list of installed JREs. Java applications and command line tools use the listed order to determine the first compatible version to use. The Vendor column indicates whether the Java release is supplied by Apple or Oracle. The Version column specifies the version of Java that is installed.
- To make JRE 7 the default version of Java, re-order the list by dragging Java SE 7 to the top of the list.