HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://openjdk.org/install
date: Sun, 12 Oct 2025 05:30:33 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: Sun, 12 Oct 2025 05:30:34 GMT
set-cookie: _abck=B388C1A9E6C8FA02EBB99DA170AE253F~-1~YAAQNAHARcP1NpSZAQAAkjLm1g5N/Q3fiqVxvbKcTmUawU4wR08/ULWuJWogNP1QIDGrLMK2SJy+U68zK6PwJGbIPlTqOWYWW82rHcaMUkEjQNydoC8Z6tGtu9sLJ/jtCufHPSfqUguILDo2PKUvykiUJbOL7wMBx5XRlxp+SVWAx2iA9JNe3Feqor9nsqgAR4EVT2ghpHOp3Yb/OVFysFQ7QEU+anC/ylSmJVRehbaLD3mT2nIp1ZNT3Gm1pFfGsYocdeRaAE7IP18uuUhxIEX5CRIVSqQ5VuA/yPdVyDxCqAxF0rEUvQRx7CYItEZ/RB2K4vQuDJVdpqfzrOUUoJ3oB6UCGccPT4ulkGOFEhdGI9AkvCEn8BTxCmnPipjckEk/n5LHqoQ8U7qpYJO1VXjnO8tDbQY0JbVCR12Nlb57XIvl6XQH2LfOCWuvy8ZdtPrUSYqR7nEw~-1~-1~-1~-1~-1; Domain=.openjdk.org; Path=/; Expires=Mon, 12 Oct 2026 05:30:34 GMT; Max-Age=31536000; Secure
set-cookie: bm_sz=AB0D09FEF4273A01C5C399ECC17E1A21~YAAQNAHARcT1NpSZAQAAkjLm1h2H1CZT4OM3uqN4H8lTeMBOiJc1mF2sbKAbrOZXca95qB+ulq+bQravG9ARIC/VfFePZ+5joB2uWU/T+s4Houc1y041om11fxr9Knl7G/IDxxr+3hICR6864RrOs3YGew40/19NPqaMfaUfEJn5WIQakNJs/Yc7irC0Z5yWDcOFdulePF7MUvWq9ioeNZnIzik9DP9jta0sj1j2+QvLtlMxoRKxDHCwiyF8ADqLyk0xyTylDFcCQ/GYIImlZxiXuvW9Ql2OteP3bEzhy2W9yWqShNnUuq8r1Z5EeLv4nLUMZ7qM8lZKHSiF5BbOkuzTVBLhESGt5jzBrURF/FCPNBOrCY9vUWg=~4470596~3228230; Domain=.openjdk.org; Path=/; Expires=Sun, 12 Oct 2025 09:30:33 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: Sun, 12 Oct 2025 05:30:35 GMT
content-length: 2973
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.