Download Help

Printable Version

How do I install Java for my Mac?

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

Mac OS X System Requirements for Oracle Java 7 and later versions
  • Intel-based Mac running Mac OS X version 10.7.3 and above
  • Administrator privileges
  • A 64-bit browser (e.g., Safari, Firefox, Chrome)
  • 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 40 (8u40). If you are installing another version, make sure you change the version number appropriately.
Example: For Java 8 Update 45 (8u45) the file to download is jre-8u45-macosx-x64.dmg.

Install Java on Mac

  1. Download the jre-8u40-macosx-x64.dmg file.
    Review and agree to the terms of the license agreement before downloading the file.
  2. Double-click the .dmg 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.

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

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.

You might also be interested in:

Find expert help on Java installation and setup

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