The following are the system requirements for installing the JDK and the JRE on macOS:
- What's new in Java for Mac OS X 2017-001: This package is exclusively intended for support of legacy software and installs the same deprecated version of Java 6 included in the 2015-001, 2014-001, and 2013-005 releases.
- Java SE 6 Downloads. Go to the Oracle Java Archive page. Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM).The JDK is a development environment for building applications, applets, and components using the Java programming language.
- Java mac free download - Java Update for Mac OS X 10.3.9, Apple Java for OS X 10.6, Apple Java for OS X 10.5, and many more programs.
With Mac OS 10.7 (Lion) and later, the Java runtime is no longer installed automatically as part of the OS installation. Follow any of the methods below to install Java runtime.
Any Intel-based computer running macOS.
Administrator privileges.
You cannot install Java for a single user. Installing the JDK and JRE on macOS is performed on a systemwide basis for all users. Administrator privileges are required to install the JDK and JRE on macOS.
When you install the JDK, it also installs the JRE. However, the system will not replace the current JRE with a lower version.
To determine the current JRE version installed on your system, see Determining the JRE Version Installed on macOS. To install an earlier version of the JRE, you must first uninstall the current version. See Uninstalling the JRE on macOS.
When you install the JRE, you can install only one JRE on your system at a time. The system will not install a JRE that has an earlier version than the current version.
To determine the current JRE version installed on your system, see Determining the JRE Version Installed on macOS. To install an earlier version of the JRE, you must first uninstall the current version. See Uninstalling the JRE on macOS.
Note:
Installing a JRE from Oracle will not update
java -version
symlinks or addjava
to your path. To do this, you must install the JDK.
Hardware: 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