

The JDK presents the developer with the set of libraries and utilities required to build programs using the Java SE, EE, and ME platforms.īesides the powerful tools and utilities contained in the application, the JDK is also released under the GNU General Public License which makes it freely available for all developers to use. It does not come as a surprise that the official Java Development Kit (JDK) is made available for developers across various operating systems including the Mac OS.


OpenJDK 64-Bit Server VM (build 21.When it comes to application development, Java is arguably the pioneer of the cross-platform concept. OpenJDK Runtime Environment (build 1.7.0-ea-b223) Now issue the ‘java -version’ command in the terminal window to verify. Make sure the Java SE 7 is in the preferred order or you can simply deselect the Java SE 6 version.ĥ. Here you can change the preferred order of the installed Java platforms by dragging it up or down. This will open the Java Preferences window. Then double-click the ‘JDK 1.7.0 Developer Preview’ icon. Go to /Library/Java/JavaVirtualMachines directory using Finder application. Then drag the JDK 1.7.0 Developer Preview icon in the left side to the JavaVirtualMachines icon folder in the right side.Ĥ.

Open the jdk-7-ea-macosx-b223.dmg file by double-clicking on it. In my case, the JavaVirtualMachines is already there so I don’t need to create it manually.ģ. sudo mkdir /Library/Java/JavaVirtualMachines Create a JavaVirtualMachines folder under /Library/Java if it doesn’t exist. The dmg file name is jdk-7-ea-macosx-b223.dmgĢ. At the time of this writing, the version of the JDK7 is Oracle JDK7 build b223 released on December 23, 2011. Download the Oracle JDK7 Mac OS X port dmg file from here. This tutorial shows you how to install Java SE 7 Developer Preview on Mac OS X 10.7.2 Lion running on my MacBook Pro.ġ. Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_04-b21) Oracle has launched the official Java SE 7 for Mac OS X 64-bit platform. The developer preview should work on any Intel-based Mac and has been tested on Mac OS X 10.6.8 (Snow Leopard) and 10.7 (Lion). It is still in developer preview based on Apple’s contributions to OpenJDK. The Developer Preview is provided to the community so that the developers can get feedback on the ongoing progress of the project. Newest post on how to install Oracle JDK 8 / Java SE 8 on Mac OS X 10.10 Yosemite can be found here.Īt the time of this writing, there is no official release of Java SE 7 / Oracle JDK 1.7 on Mac OS X.
