As of today, Oracle has launched JDK 8, for this new version, I believe many people and I dare not try. Since JDK 7 is already supported on some platforms, such as the latest Android system, upgrading JDK 6 to 7 on Mac will solve some development needs.
Mac systems have built-in JDK versions of the previous OS, but only JRE 6 is built into the latest mavericks. The Mac system lacks JDK but can install the JDK through its upgrade mechanism, unfortunately Apple officially supports/installs JDK 6. It seems that Mac has some lag in Java support. Fortunately, upgrading the JDK on your Mac is simple, and you can follow these steps:
1. Download the DMG installation package for the Mac platform on the Java SE develoment Kit 7 download page of the Oracle website. Because the MAC system processor is 64-bit, only the only corresponding installation package can be selected!
2. Double-click the DMG installation package to display an installation interface and double-click the pkg icon to start the installation.
At the command line after the installation is complete, enter:
Java--version
Echo:
Java version "1.7.0_67" Java (tm) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot (tm) 64-bit Server VM (Build 24.65- B04, Mixed mode)
BINGO,JDK 7 has been installed!
Mac system installation Java 7 Pain-Free Introduction