How to Install Java on macOS Sierra

Jun 29, 2017 - 5 Comments

How to install Java on macOS

Some Mac users may need to install Java into macOS Sierra or MacOS High Sierra. Typically the need for Java is for specific app usage, particular app compatibility, or for developers, and it’s worth mentioning that most Mac users won’t need to bother installing Java at all. For those that do need Java however, you will find it’s easy to get onto the latest versions of MacOS.


As you may know by now, MacOS no longer ships with Java preinstalled, so you’ll need to download and install java on your own if you need it in MacOS 10.13 or 10.12. This is to insure that the most recent version of Java is installed on the Mac if it’s needed, aiming to lessen potential security issues that may come up with older versions of the Java software (though older versions of Java can be installed if need be for a specific reason).

Note: if you do not specifically need Java, you should not install it onto a Mac.

Install Java in macOS High Sierra & Sierra

The best approach to install Java on the Mac is to get the latest version of Java JRE directly from Oracle. This is fairly straight forward and you can either initiate the process from the terminal application in macOS or by going directly to the Java download page on Oracles website.

  1. Open the Terminal app and type the following:
  2. java

  3. Click on the “More Info” button to jump to the Java downloads page in a web browser

Start installing Java on MacOS

This will allow you to download and install the newest most recent version of Java available for the Mac, which is currently JRE8.

Additionally, you can choose to go directly to the Java downloads page on Oracle.com where you can find the latest release of Java JRE and as well as the JDK if you need one, the other, or both. If you need an older version of Java for whatever reason, some Mac OS releases support JRE 6 as described here.

Users might need to turn off SIP protection on the Mac before being allowed to complete the installation of Java.

You can also uninstall Java from a Mac if need be after the fact, or you can just disable Java too.

Know of another approach to installing Java in macOS 10.13 or macOS 10.12? Have any opinions or thoughts on the matter? Let us know in the comments!

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks

5 Comments

» Comments RSS Feed

  1. Chris Wrinn says:

    Needed Java for Photoshop CS6. I still get one error, but it’s not a problem. Might be worth trying another reinstall.

  2. Al Maloney says:

    LibreOffice requires jdk rather than jre

  3. expobill says:

    HEY! last week we weren’t supposed ta use java…..what gives?

    • Patrick says:

      “Some Mac users may need to install Java into macOS Sierra or MacOS High Sierra. Typically the need for Java is for specific app usage, particular app compatibility, or for developers, and it’s worth mentioning that most Mac users won’t need to bother installing Java at all.”

    • FlyingFruit says:

      If you need to use Java, you have to install Java to use Java.

      If you don’t need to use Java, you don’t need to install or use Java, and you should not install or use Java.

      This is not complicated, so don’t over think it.

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates