How To Download & Install Java 21 on Mac

By Nic •  Updated: 02/08/22 •  2 min read

This article is our guide on how to download and install Java 21 on macOS. Why would you want Java 21 on Mac? Well, any applications that are built on Java will require Java 21 to run on macOS. Specifically though doing this like installing Minecraft mods and running a Minecraft server on your Mac will require Java 21 which is the main reason we are doing this tutorial. Thus, let's jump right on into how to get Java on macOS!

How To Download & Install Java 21 on Mac

Step 1) Download Java 21 for macOS

First things first, we need to download Java 21 for macOS. You can get to the Java download page by clicking the Download Java button above. You can also click this link to get to the Java 21 download page. Once you are there, click on ‘macOS'. Then, you will need to select the DMG Installer for either ARM or x64. If you are on an M1 Mac, you will use ARM. If you are on an Intel Mac, you will use x64. After deciding on which version of Java for Mac you need, click the link next to it to start the download. You may to keep allow or keep the file depending on your browser.

Step 2) Install Java 21 for macOS

Once you have Java 21 downloaded, we can move on to installing Java 21 for macOS. You can find the file you downloaded into your download folder. Open that, and click the JDK file you have in it. That will then open the installer for Java. Double click on the JDK listed in the window that opens. The installer will open where you can click ‘continue', and then ‘Install'.

You may then need to confirm you want to install Java 21 by entering your macOS password. Finally, click ‘Install', and Java 21 will then install. Once you are finished, you can close the installer and move it to the trash.

Step 3) Make Sure Java for macOS is Working

At this point, you can now use Java on your Mac. From installing Minecraft mods, to running a Minecraft server to using Java programs, you can now use Java for anything that you want on macOS. If you do have any issues installing Java for Mac though, let us know in the comments. We will try our best to help you fix your issue!


I have been playing and modding Minecraft since 2010. In 2014, I started getting interested in creating Minecraft servers and teaching people how to do it online. This led to thousands of videos covering how to do anything and everything in Minecraft!

Keep Reading