Linux OpenJDK8 Installation (Since Oracle has Begun Its Final Chapter of Enslavement)
How to download and install prebuilt OpenJDK packages
JDK 9 & Later
Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux are available on release-specific pages of jdk.java.net as .tar.gz
or .zip
archives.
As an example, the archives for JDK 11 may be found on jdk.java.net/11 and may be extracted on the command line using
$ tar xvf openjdk-11*_bin.tar.gz
or
$ unzip openjdk-11*_bin.zip
depending on the archive type.