After opening a terminal, the successful installation of the JDK can be confirmed like so: java -version Select macOS and 圆4 and download the JDK (about 190 MB), which will put the OpenJDK11U-jdk_圆4_mac_hotspot_11.0.9_11.pkg file into your ~/Downloads folderĬlicking on the pkg file will install into this location: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdkĪlmost done. However, the easiest way is to select OpenJDK 11 (LTS), the HotSpot JVM, and macOS 圆4 is to get the latest release here: Easy to follow details about how to install OpenJDK are available here. As I’m writing this, Java 11.0.9 is the latest LTS (Long Term Support) version and AdoptOpenJDK is one of the best places to find Prebuilt OpenJDK Binaries. Since OS X 10.7 Java is not (pre-)installed anymore, let’s fix that.