How to Install Java on MacOS

To install Java on MacOS you need to go to the official Oracle download page and click on the major version of Java (currently the newest version is Java SE 11.0.2 LTS)

download java

.Accept a license agreement and click on jdk-9.0.4_osx-x64_bin.dmg.

accept agreement and select java OS

When downloading is finished launch dmg file and double-click on the icon.

double click to install Java on MacOS

Java installer introduction window will be opened.

Java installer introduction on MacOS

Press “Continue”.

Java installation type on MacOS

Press “Install”.

Java install succeeded on MacOS

So Java is successfully installed and ready to use.

To check Java version you need:

  1. Open Launchpad
  2. Find and open Terminal
  3. Type java -version


Scroll Up