Download Help

Printable Version

How do I install Java for my Mac?

This article applies to:
  • Platform(s): Mac OS X, macOS
  • Java version(s): 8.0

Mac System Requirements for Oracle Java 7 and later versions
  • Intel-based Mac running versions 10.7.3 and above
  • Administrator privileges
  • A 64-bit browser (e.g., Safari)
  • 32-bit browsers do not support Java 7 and later versions on the Mac platform

The screen shots and instructions below are for Java 8 Update 65 (8u65). If you are installing another version, make sure you change the version number appropriately.
Example: For Java 8 Update 65 (8u65) the file to download is jre-8u65-macosx-x64.pkg.

Notifications about disabled Java and restoring prompts

The installer notifies you if Java content is disabled in web browsers, and provides instructions for enabling it. If you previously chose to hide some of the security prompts for applets and Java Web Start applications, the installer provides an option for restoring the prompts. The installer may ask you to reboot your computer if you chose not to restart an internet browser when it prompted you to do so.

Test Installation

To test that Java is installed and working properly on your computer, run this test applet.

Install Java on Mac

  1. Download the jre-8u65-macosx-x64.pkg file.
    Review and agree to the terms of the license agreement before downloading the file.
  2. Double-click the .pkg file to launch it
  3. Double-click on the package icon to launch install Wizard

  4. The Install Wizard displays the Welcome to Java installation screen. Click Next

  5. Oracle has partnered with companies that offer various products. The installer may present you with the option to install these programs when you install Java. After ensuring the desired programs are selected, click the Next button to continue the installation.

    Example of Yahoo offer dialog
    Known Issues
    [macosx] Sponsor offer screen accessibility (a11y) issues

    Users who operate the keyboard to access user interfaces in the Java installer will be unable to access hyperlinks and checkboxes in software add-on offer screens. As a workaround to setting preferences related to add-on software in the user interface, users can disable such offers either by disabling them in the Java control panel, or by passing SPONSORS=0 via the command line. For more information, refer to Install Java without sponsor offers FAQ.

  6. After the installation has completed, a confirmation screen appears. Click Close to finish the installation process.

You might also be interested in:

Find expert help on Java installation and setup

Select Language | About Java | Support | Developers | Feedback
Privacy  | Terms of Use | Trademarks | Disclaimer