Home

Install Java (Mac OS X)

Home » Java Quick Start » Install Java » Install Java (Mac OS X)

Is Java not available on your Mac OS X computer yet?

No problem, let's use an installer to make the process really easy.

This is a direct link to the Azul Zulu build of OpenJDK distribution, version 17, as an installer:

Many more distributions and versions of Java exist. You can read more info here on how to find another distribution or version.

Once the .dmg file completed downloading, double-click it, and follow the instructions.

After the installation has completed, you can check the installed version by opening a Terminal and running the java -version command.

You should get the following result:

% java -version
openjdk version "17.0.5" 2022-10-18 LTS
OpenJDK Runtime Environment Zulu17.38+21-CA (build 17.0.5+8-LTS)
OpenJDK 64-Bit Server VM Zulu17.38+21-CA (build 17.0.5+8-LTS, mixed mode, sharing)

That's it. You're now ready to run Java programs and, even better… create your own!

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard