HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://openjdk.org/install
date: Mon, 13 Oct 2025 00:58:45 GMT
HTTP/2 301
content-type: text/html
location: /install/
content-security-policy-report-only: default-src 'self' *.openjdk.java.net feedburner.google.com; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' feeds.feedburner.com *.statcounter.com statcounter.com; img-src 'self' data: *.statcounter.com *.openjdk.java.net feedburner.google.com; frame-ancestors 'none'; report-uri https://openjdk.report-uri.io/r/default/csp/reportOnly
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-akamai-transformed: 0 - 0 -
date: Mon, 13 Oct 2025 00:58:46 GMT
set-cookie: _abck=2C3D78E3AD0658D9CB41A733EF0D1AE0~-1~YAAQNAHARe1TOJSZAQAAxbcT2w6ypJkvrTHH3NTl2qGEwxLXNuZTCv5Tf2C7I04r9r3UZq5AQj9V+MiADlNMrrVKIuPCQo8QLnpBf1dEbnv6o4nywQZlqlNBXTB1wX+RaVsaJnr1PuLfgSiM+BgwZKQiBlgVQah+mXoLZQmdv4sQ4coPIi8n6TfYZv9u1rpHbqhm8mlsAcqhw7kd70CUCfY/+IsoiiEJf0m9O/j1XJmS0OruFnw53XVVZ31+TN0gYhki2f0+9v9V6JvX5H8BDmNg18cvIQ1HMDlgoNnSx2k6e6nL4hDoEb5RS5D5nE+yDFpLjl6MawYiHz2SETDadfYx9OC3j7BY81+PnqPF/McdH0R44D2CWNoOBD9uzYpomCGHIldRoc+gLcD1KZYPcyKMlsiF73fq+BzzXl3cMtD1/qhSVtja95VtWZOywvXrtYQsnHV+EmSY~-1~-1~-1~-1~-1; Domain=.openjdk.org; Path=/; Expires=Tue, 13 Oct 2026 00:58:46 GMT; Max-Age=31536000; Secure
set-cookie: bm_sz=EDB78015009AA848C3BFA100D8FA31CA~YAAQNAHARe5TOJSZAQAAxrcT2x1xoB58LQUhuo3GsnSX6yV589hDz9zzmHhKlAPZD3wRfvrdiBKK1yJI7b/brd09rTlicEPCRWFKfLw4Cz1h1pH16FQWIfmf8XrtPr1RYd/JI8ZBtK1wOgaj6DIC7WHJF4Ng2yHi89UQcO/qPaIJyeGbsFpL43MiukgIe8xGGLMEzuEW+Lm0w0Pp61Z+/1RYWQk/Hbw1CYG4drPyt0egTXzzJ9uVFVbRJ4b3PxkmPoVaaydLTUYutGa+5tGhYgF0Zozrfuf6N/bjeYXTLu79tBwwZRYsHEUom3JLaD3KXo+SWw822HvBum+sncFAsBtbuxcBBhFblLSbgdpY+aIUOCG4n5aYSpA=~4536371~3684659; Domain=.openjdk.org; Path=/; Expires=Mon, 13 Oct 2025 04:58:45 GMT; Max-Age=14399
HTTP/2 200
content-type: text/html
last-modified: Tue, 09 Sep 2025 21:30:24 GMT
vary: Accept-Encoding
etag: "68c09c70-2e51"
content-security-policy-report-only: default-src 'self' *.openjdk.java.net feedburner.google.com; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' feeds.feedburner.com *.statcounter.com statcounter.com; img-src 'self' data: *.statcounter.com *.openjdk.java.net feedburner.google.com; frame-ancestors 'none'; report-uri https://openjdk.report-uri.io/r/default/csp/reportOnly
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
accept-ranges: bytes
x-akamai-transformed: 0 - 0 -
content-encoding: gzip
date: Mon, 13 Oct 2025 00:58:47 GMT
content-length: 2984
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 13 may be found on jdk.java.net/13 and may be extracted
on the command line using
$ tar xvf
openjdk-13*_bin.tar.gz
or
$ unzip
openjdk-13*_bin.zip
depending on the archive type.
JDK 8
Debian, Ubuntu,
etc.
On the command line, type:
$ sudo apt-get install
openjdk-8-jre
The openjdk-8-jre
package contains
just the Java Runtime Environment. If you want to develop Java
programs then please install the openjdk-8-jdk
package.
Fedora, Oracle
Linux, Red Hat Enterprise Linux, etc.
On the command line, type:
$ su -c "yum install
java-1.8.0-openjdk"
The java-1.8.0-openjdk
package
contains just the Java Runtime Environment. If you want to develop
Java programs then install the java-1.8.0-openjdk-devel
package.
JDK 7
Debian, Ubuntu,
etc.
On the command line, type:
$ sudo apt-get install
openjdk-7-jre
The openjdk-7-jre
package contains
just the Java Runtime Environment. If you want to develop Java
programs then install the openjdk-7-jdk
package.
Fedora, Oracle
Linux, Red Hat Enterprise Linux, etc.
On the command line, type:
$ su -c "yum install
java-1.7.0-openjdk"
The java-1.7.0-openjdk
package
contains just the Java Runtime Environment. If you want to develop
Java programs then install the java-1.7.0-openjdk-devel
package.
JDK 6
Debian, Ubuntu,
etc.
On the command line, type:
$ sudo apt-get install
openjdk-6-jre
The openjdk-6-jre
package contains
just the Java Runtime Environment. If you want to develop Java
programs then install the openjdk-6-jdk
package.
Fedora, Oracle
Linux, Red Hat Enterprise Linux, etc.
On the command line, type:
$ su -c "yum install
java-1.6.0-openjdk"
The java-1.6.0-openjdk
package
contains just the Java Runtime Environment. If you want to develop
Java programs then install the java-1.6.0-openjdk-devel
package.
BSD Port
For a list of pointers to packages of the BSD Port for DragonFly
BSD, FreeBSD, Mac OS X, NetBSD and OpenBSD, please see the BSD
porting Project's wiki page.