OpenJDK 7 for OS X Lion is based on OpenJDK sources. This solutions aims at delivering for Java enthusiasts and / or developers a working version of the next Java release for their Apple Mac. If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'. There can be multiple JDKs installed on a system, as many as you wish. Mac OS X 10.7 (Lion) and above: Java is not pre-installed with Mac OS X versions 10.7 and above. To get the latest Java from Oracle, you will need Mac OS X 10.7.3 and above. If you have Java 7 or later versions, you will see a Java icon under System Preferences. Java versions 6 and below are listed in the Java Preferences.app located in the.
Skip to end of metadataGo to start of metadataHardware: Any 64-bit capable Intel Mac
- RAM: 4GB, 2GB min
- HD: 3GB free space
- How to tell if your Mac is 64-bit capable
OS: Mac OS X 10.7.3
- How to tell what version of Mac OS X you are running
- Apple Menu () -> 'About this Mac...'
- Where to get it
- Apple Menu () -> 'App Store...'
Note: Mac OS X 10.7 will be the only version of Mac OS X supported by Oracle. 10.6.8 + Java for Mac OS X 10.6 Update 6 should continue to work for the foreseeable future. We do not expect to use 10.7-only API in the codebase.
Xcode
- 4.1 required for Mac OS X 10.7.3
- Where to get it
- Apple Menu () -> 'App Store...', free download
- Run Xcode, choose Preferences -> Downloads -> Components, then select and install Command Line Tools
- In a shell, run the following command:
- Where to get it
- 3.2.6 required for Mac OS X 10.6.8
- Compiler flag fixes which correctly aligns the stack between function calls in 32-bit processes (3.2.6)
- Where to get it
- http://developer.apple.com (Mac Dev Center section)
After you install Xcode, you will have to install Java for Mac OS X 10.7 Update 1, Java for Mac OS X 10.6 Update 6, or a later developer preview to correct headers in the JavaRuntimeSupport framework.
Java: 'Java for Mac OS X 10.6 Update 6'
- Required for new API added for OpenJDK on Mac OS X 10.6
- Where to get it
Mercurial
- Required to get source
- Where to get it
Jtreg
- Required only to run regression tests
- Where to get it
Content Tools
What is a JDK?
The Java SE Development Kit, or JDK, is an extended subset of tools that allow for developing applications for the Java programming language.
Jdk Install Mac Os
The installation process is very straight forward:
- Navigate to the Java SE Downloads page
- Choose the JDK Download:
- Agree to terms and download the Mac OS X version
- Open the dmg file and run the installation accepting all defaults
Known installation issues
Mac Jdk Download
There are currently no reported issues. If you are having one, please report it in the Treehouse forum.