

The intent of including these outputs is to illustrate what output should look like. Note that this guide contains plenty of CLI command outputs. We will cover how to install whatever is most readily available. For versions prior to Java 8 or other special circumstances, OpenJDK may not be available.For Java 8 and later, OpenJDK is readily available.

For more information, see Oracle now requires a subscription to use Java SE (2018). We favor OpenJDK because it has a permissive license, the GPL v2 with Classpath Exception (aka linking exception). This guide favors free, simple, and permissive licensing whenever possible, so we will favor OpenJDK first, then AdoptOpenJDK if plain OpenJDK isn't available, any other open source distributions, and finally Oracle JDK if no other options are available. Older OpenJDK Feature Release (Java 9, 10, 12, 13, 14, etc.).Latest Stable Generally Available (GA) OpenJDK Feature Release (Java 15, 16, etc.).Early Access (EA) OpenJDK Feature Release.Getting an Overview: How to Search Homebrew for Java formulae.This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew. Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew, Specific Version How To Install Different JDK Versions on MacOS with Homebrew
