Learn how to install Java OpenJDK 15 on macOS Catalina by downloading the .tar.gz file from OpenJDK.

In this article, I will demonstrate how to install Java OpenJDK 15 on macOS Catalina in 2020.

Download and Install OpenJDK 15

Download the .tar.gz version of OpenJDK 15 from jdk.java.net/15/ and move the file to /Library/Java/JavaVirtualMachines/ on your mac. Then, extract it and delete the archive:

sudo mv openjdk-15_osx-x64_bin.tar.gz /Library/Java/JavaVirtualMachines/
cd /Library/Java/JavaVirtualMachines/
sudo tar -xzf openjdk-15_osx-x64_bin.tar.gz
sudo rm openjdk-15_osx-x64_bin.tar.gz

#java #developer

How to Install Java OpenJDK 15 on macOS Catalina
8.35 GEEK