By Richard Mallion
Oracle has just released Java SE 7 Update 4 for Mac OS X. This update finally gives Mac owners a path to receive critical Java security patches at the same time they’re available for users of Windows and Linux operating systems. Once installed, this new release means that OS X should be receiving regular Java updates directly from Oracle.
Before this update, Apple built and released a version of Java for OS X on its own, and often lagged weeks or months behind Oracle in pushing out updates that patched serious security holes. However, Apple deprecated its own Java Virtual Machine (JVM) and other tools in 2010. Though the company committed to maintaining Java for Leopard and Snow Leopard, it warned that “developers should not rely on the Apple-supplied Java runtime being present in future versions of Mac OS X.”
You can the download the Java SE 7 Update 4 JDK yourself, the update requires Mac OS X Lion. Once installed, Java updates are automatic.
Thanks to @archer82 for “one more thing, don’t forget to enable Java 7, and disable built in Apple Java 6 in Java preferences”