The following are the system requirements for installing the JDK and the JRE on macOS:
Since OS X 10.7 Java is not (pre-)installed anymore, let’s fix that. As I’m writing this, Java 11.0.4 is the latest version and AdoptOpenJDK is one of the best places to find Prebuilt OpenJDK Binaries.Easy to follow details about how to install OpenJDK are available here. However, the easiest way is to select OpenJDK 11 (LTS), the HotSpot JVM, and macOS x64, which will expose two option.
- Java(TM) SE Runtime Environment (build 1.6.065-b14-4) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-465, mixed mode) If you’re not a fan of the command line, or would rather get the latest version of Java installed in OS X 10.9 directly from Oracle, that’s what we’ll cover next.
- Java manual download page. Get the latest version of the Java Runtime Environment (JRE) for Windows, Mac, Solaris, and Linux.
- 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.
If, after installing Java for OS X 2014-001 and the latest version of Java 7 from Oracle, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality, follow these steps.
Note: You must be logged in as an administrator. If prompted for your administrator password after a command, enter it and then press the Return or Enter key.
Java Runtime Environment Download Mac Os X 10.10
- Open Terminal, located in the Utilities folder.
- Enter this command, then press the Return or Enter key:
- Enter this command, then press the Return or Enter key:
- Enter this command, then press the Return or Enter key:
- To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:
Java Runtime Environment Download Mac Os X
Learn more
Java Runtime Environment Download Mac Os X 10.6
The following steps will undo the above commands and restore Java 7 in OS X Lion and later.
Java Runtime Download For Mac
- Disable Java SE 6 Web Start opening:
- Enter this command, then press the Return or Enter key:
- When prompted, enter your administrator password, then press the Return or Enter key.
- Re-enable the Java 7 applet plug-in bydownloading and reinstalling the latest version of Oracle Java 7 JRE.