Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux areavailable on release-specific pages ofjdk.java.net as.tar.gz
or.zip
archives.
As an example, the archives for JDK 13 may be found onjdk.java.net/13 and may be extractedon the command line using
$ tar xvfopenjdk-13*_bin.tar.gz
or
$ unzipopenjdk-13*_bin.zip
depending on the archive type.
On the command line, type:
$ sudo apt-get installopenjdk-8-jre
Theopenjdk-8-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then please install theopenjdk-8-jdk
package.
On the command line, type:
$ su -c "yum installjava-1.8.0-openjdk"
Thejava-1.8.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install thejava-1.8.0-openjdk-devel
package.
On the command line, type:
$ sudo apt-get installopenjdk-7-jre
Theopenjdk-7-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then install theopenjdk-7-jdk
package.
On the command line, type:
$ su -c "yum installjava-1.7.0-openjdk"
Thejava-1.7.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install thejava-1.7.0-openjdk-devel
package.
On the command line, type:
$ sudo apt-get installopenjdk-6-jre
Theopenjdk-6-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then install theopenjdk-6-jdk
package.
On the command line, type:
$ su -c "yum installjava-1.6.0-openjdk"
Thejava-1.6.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install thejava-1.6.0-openjdk-devel
package.
For a list of pointers to packages of theBSD Port for DragonFlyBSD, FreeBSD, Mac OS X, NetBSD and OpenBSD, please see the BSDporting Project'swiki page.