If you would like to learn Java programming, the best way is by writing Java codes by yourself. To compile the Java codes then you need Java Development Kit (JDK). It can be Oracle JDK or OpenJDK. This post guides you how to install Oracle JDK 8 on Mac OS X 10.10 Yosemite. It should be also applicable for previous version of OS X such as OS X Maverick, Mountain Lion, and OS X Lion. At the time of this post written, the latest version of JDK is JDK 8 Update 25.

Starting with Mac OS X 10.10 (Yosemite), Java Apps won't open anymore if they contain the deprecated Plist dictionary Java. This isn't confirmed by Apple, but issue #9 leads to this assumption: Apple seems to declare the Java dictionary as deprecated and ties it to their old Apple Java 6. Note that installing the JDK on OS X is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user. Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. In this video I am going to show you How to install Java JDK 11 on Mac OSX 10.14 (Mojave). In Mac OSX 10.5 or later, Apple recommends to set the $JAVAHOME.

Basically I previously had written an article how to install Java SE 7 / JDK 7 on Mac OS X Lion. I just would like to rewrite on the newest version.

1. Download Oracle JDK 8 from Oracle website. You need to accept license agreement to be able to download the file. Make sure you select the Mac OS X x64 platform (jdk-8u25-macosx-x64.dmg).

Java

2. Double-click the downloaded file ‘jdk-8u25-macosx-x64.dmg’ and follow the on-screen installation.

3. Once it is successfully installed, it is installed inside /Library/Java/JavaVirtualMachines folder.

4. Verify that the system is now using JDK 8.

5. If you would like to uninstall JDK 8, simply remove the jdk1.8.0_25.jdk

Hopefully this tutorial helps you on installing JDK 8 / Java SE 8 on Mac OS X 10.10 Yosemite.

Skip to end of metadataGo to start of metadata

About build platform support

In an open-source community, for a build platform to be supported, someone has to step up and support it. This page intends to list what platforms the open-source JDK can build on, and who (if anyone) in the community is supporting those platforms.

Oracle defines a number of build platforms, with carefully specified versions of operating systems, compilers and other build tools. If you report a failure to build on any of these platforms, the report will be processed with high priority from the build team in Oracle. Under normal circumstances, a build on any of these platforms will always succeed.

In addition to the build platforms supported by Oracle, the JDK can normally be built on many other platforms. For these platforms, there is no guarantee from Oracle that the build will succeed. The Oracle build team can help to solve some problems encountered, but only on a best-effort basis. In addition to the Oracle build team, other companies and individuals in the OpenJDK Community are welcome to help with making the JDK compile on these platforms, and can of course make similar commitments like the one Oracle has made. Please keep this page up to date with any such efforts.

The supported build platforms are listed below. Note that build support is different for different versions of the JDK. We welcome updates from the community to this list. If you have succeeded (or not!) in building the JDK on a platform that is substantially different from the ones already listed, please document your experience in the list.

JDK 15 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86_x64

Oracle Enterprise Linux6.4/7.xgcc9.2.0Build platform is OEL 7.x but using sysroot (headers and libs) from 6.4
Linux aarch64Oracle Enterprise Linux7.xgcc9.2.0Cross compiled on OEL 7.x x86_64 using sysroot from OL7.6
Mac OS X x86_64Mac OS X10.13.5XCode / clang10.1
Windows x86_64WindowsServer 2016Microsoft Visual Studio2019 16.5.3

Other JDK 15 build platforms

Legend for status: Works correctly Works partially or workaround(s) needed Does not work

Please help us expand this table!

PlatformStatusOS Type/Vendor OS Version

Compiler/Toolchain
Type/Vendor

Compiler/Toolchain
Version
Notes / Workarounds
Linux ppc64Suse SLES11.3gcc7.3.1Maintained by SAP
Linux ppc64leSuse SLES12.1gcc7.4.0Maintained by SAP
Linux s390xSuse SLES11.3gcc7.3.1Maintained by SAP
Mac OS X x86_64Mac OS X10.12.6 (Sierra)XCode / Clang9.0Maintained by SAP
Windows x86_64Microsoft Windows Server2016Microsoft Visual Studio2017Maintained by SAP
AIX ppc64IBM AIX7.2XLC/xlclang++16.1Maintained by SAP

JDK 14 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86_x64

Oracle Enterprise Linux6.4/7.xgcc8.3.0Build platform is OEL 7.x but using sysroot (headers and libs) from 6.4
Solaris sparcv9Solaris11.3Oracle Solaris Studio12.6
Mac OS X x86_64Mac OS X10.13.5XCode / clang10.1
Windows x86_64WindowsServer 2012R2Microsoft Visual Studio2017 15.9.16

JDK 13 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86_x64

Oracle Enterprise Linux6.4/7.xgcc8.2.0Build platform is OEL 7.1 but using sysroot (headers and libs) from 6.4
Solaris sparcv9Solaris11.3Oracle Solaris Studio12.6
Mac OS X x86_64Mac OS X10.13.5XCode / clang10.1
Windows x86_64WindowsServer 2012R2Microsoft Visual Studio2017 15.9.6

Other JDK 13 build platforms

Legend for status: Works correctly Works partially or workaround(s) needed Does not work

Please help us expand this table!

PlatformStatusOS Type/Vendor OS Version

Compiler/Toolchain
Type/Vendor

Compiler/Toolchain
Version
Notes / Workarounds
Linux ppc64Suse SLES11.3gcc7.3.1Maintained by SAP
Linux ppc64leSuse SLES12.1gcc7.4.0Maintained by SAP
Linux s390xSuse SLES11.3gcc7.3.1Maintained by SAP
Mac OS X x86_64Mac OS X10.12.6 (Sierra)XCode / Clang9.0Maintained by SAP
Windows x86_64Microsoft Windows Server2016Microsoft Visual Studio2017Maintained by SAP
AIX ppc64IBM AIX7.2XLC/xlclang++16.1Maintained by SAP

JDK 12 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86_x64

Oracle Enterprise Linux6.4/7.xgcc7.3.0Build platform is OEL 7.1 but using sysroot (headers and libs) from 6.4
Solaris sparcv9Solaris11.3Oracle Solaris Studio12.6
Mac OS X x86_64Mac OS X10.13.5XCode / clang9.4
Windows x86_64WindowsServer 2012R2Microsoft Visual Studio2017 15.5.5

Other JDK 12 build platforms

Legend for status: Works correctly Works partially or workaround(s) needed Does not work

Please help us expand this table!

PlatformStatusOS Type/Vendor OS Version

Compiler/Toolchain
Type/Vendor

Compiler/Toolchain
Version
Notes / Workarounds
Linux ppc64Suse SLES11.3gcc7.3.1Maintained by SAP
Linux ppc64leSuse SLES12.1gcc7.4.0Maintained by SAP
Linux s390xSuse SLES11.3gcc7.3.1Maintained by SAP
Mac OS X x86_64Mac OS X10.12.6 (Sierra)XCode / Clang9.0Maintained by SAP
Windows x86_64Microsoft Windows Server2016Microsoft Visual Studio2017Maintained by SAP
AIX ppc64IBM AIX7.1XLC12.1Maintained by SAP

JDK 11 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86_x64

Oracle Enterprise Linux6.4/7.xgcc7.3.0Build platform is OEL 7.1 but using sysroot (headers and libs) from 6.4
Solaris sparcv9Solaris11.1/11.2Oracle Solaris Studio12.4Build platform is Solaris 11.2 but using sysroot (headers and libs) from 11.1
Mac OS X x86_64Mac OS X10.13.5XCode / clang9.4
Windows x86_64WindowsServer 2012R2Microsoft Visual Studio2017 15.5.5

Other JDK 11 build platforms

Legend for status: Works correctly Works partially or workaround(s) needed Does not work

Please help us expand this table!

PlatformStatusOS Type/Vendor OS Version

Compiler/Toolchain
Type/Vendor

Compiler/Toolchain
Version
Notes / Workarounds
Linux x86_x64Suse SLES11.3gcc4.8.5 (until 11.0.2), 7.4.0Maintained by SAP
Linux ppc64Suse SLES11.3gcc4.8.5 (until 11.0.2), 7.3.1Maintained by SAP
Linux ppc64leSuse SLES12.1gcc4.8.5 (until 11.0.2), 7.4.0Maintained by SAP
Linux s390xSuse SLES11.3gcc4.8.5 (until 11.0.2), 7.3.1Maintained by SAP
Solaris sparcv9Oracle Solaris11.3Oracle Solaris Studio12.4

Maintained by SAP

Mac OS X x86_64Mac OS X10.12.6 (Sierra)XCode / Clang9.0Maintained by SAP
Windows x86_64Microsoft Windows Server2016Microsoft Visual Studio2017Maintained by SAP
AIX ppc64IBM AIX7.1XLC12.1Maintained by SAP

JDK 9 and 10 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86_x64

Oracle Enterprise Linux6.4/7.1gcc4.9.2Build platform is OEL 7.1 but using sysroot (headers and libs) from 6.4
Solaris sparcv9Solaris11.1/11.2Oracle Solaris Studio12.4Build platform is Solaris 11.2 but using sysroot (headers and libs) from 11.1
Mac OS X x86_64Mac OS X10.10 (Yosemite)XCode / clang6.3
Windows x86_64WindowsServer 2012R2Microsoft Visual Studio2013SP4

Other JDK 9 and 10 build platforms

Legend for status: Works correctly Works partially or workaround(s) needed Does not work

Download Java Jdk For Windows 10

Please help us expand this table!

Java Jdk For Mac Os X 10.100

PlatformStatusOS Type/Vendor and VersionCompiler/Toolchains Type/Vendor and VersionNotes / Workarounds
Linux x86 and x86_64Ubuntu 14.04gcc 4.8.2Works flawlessly

Ubuntu 13.10gcc 4.8.1Works flawlessly

Suse SLES 11.3gcc 4.8.5
Linux ppc64Suse SLES 11.3gcc 4.8.5
Linux ppc64leSuse SLES 12.1gcc 4.8.5
Linux s390xSuse SLES 11.3gcc 4.8.5
Solaris sparcv9Oracle Solaris 11.1Oracle Solaris Studio 12u4


Mac OS X x86_64Mac OS X 10.10 (Yosemite)XCode 6.1Needs separate installation of freetype

Mac OS X 10.12.6 (Sierra)XCode / Clang 9.0
Windows x86_64Microsoft Windows Server 2008 R2Microsoft Visual Studio 2013
Windows x86_64Microsoft Windows Server 2008 R2Microsoft Visual Studio 2010 SP 1Previous setup used by Oracle, likely still works for both 32 and 64 bit builds
AIX ppc64IBM AIX 7.1XLC 12.01

JDK 8 build platforms supported by Oracle

OS and CPUOS Type/VendorOS VersionCompiler/Toolchain Type/VendorCompiler/Toolchain VersionNotes

Linux x86 and x86_64

Fedora9gcc4.3.0
Solaris sparcv9 and x86_64Solaris10u6Oracle Solaris Studio12.1
Mac OS X x86_64Mac OS X10.7 (Lion)Xcode / gcc4.6.2
Windows x86_64WindowsServer 2008 R2Microsoft Visual Studio2010 SP1Also for creating 32-bit builds.

Other JDK 8 build platforms

Legend for status: Works correctly Works partially or workaround(s) needed Does not work

Java Development Kit (jdk) On Mac Os X 10.10

Please help us expand this table!

PlatformStatusOS Type/Vendor and VersionCompiler/Toolchains Type/Vendor and VersionNotes / Workarounds
Linux x86 and x86_64Ubuntu 14.04gcc 4.8.2Works flawlessly

Ubuntu 13.10gcc 4.8.1Works flawlessly
Linux ppc64Suse SLES 11.3gcc 4.8.5Maintained by SAP
Linux ppc64leSuse SLES 12.1gcc 4.8.5
Mac OS X x86_64Mac OS X 10.8 (Mountain Lion)XCode / gcc 4.2.1
Windows x86_64Microsoft Windows Server 2008 R2Microsoft Visual Studio 2010
AIX ppc64IBM AIX 7.1XLC 12.01Maintained by SAP
Content Tools