HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://openjdk.org/install
date: Sat, 19 Jul 2025 05:14:59 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: Sat, 19 Jul 2025 05:14:59 GMT
set-cookie: _abck=159EE91007B5AC9C12197AC3273B5BC9~-1~YAAQNAHARRS4AR2YAQAAwGMbIQ6Yka3VEuw/+7eXQqMg/D85T5B3k0Gviqw1Gu8Yw6yrY2KCrRt86JvOpkStSMJ4F2ODGSkef2s31EB9nKLsajo/LQeS9IXavi7zFbUvwwPF4i5mOT1OaK+r1ZxaTx04V5kGsnwwN+S4jr/xO8RE/jDNhlSzhlWIzIOZQ7frOppsZiYUVcjc3HTMCzFkentqqG+GJE0mnVu7F6xeqqwVz3pNc3nbX/olfnNrvUvhTDxQaJ80QxyWewZqBLXFjUEcgDwxJE0ocKO7VwzBrexNpulbY3ksfDG94hR/SvXBZdIpiToEPARSUGkabGf0ikOKxPD+3+MyqEQTZfQuCFDPuSNGumfT9ehNJl1So/y45zQ97C0HQ0kASCgldHfLLdGYMjNGtYdHYJ7cuV1QI1jbOltqvaVz+PjSJwJ0xM5Kq3hU16M=~-1~-1~-1; Domain=.openjdk.org; Path=/; Expires=Sun, 19 Jul 2026 05:14:59 GMT; Max-Age=31536000; Secure
set-cookie: bm_sz=F660ADE09A6BF3AA9017FAAC7402F262~YAAQNAHARRW4AR2YAQAAwGMbIRxFckd7tgKRJSadY85aGkyrhy4VDtNu0AXcxm0rrcuTEqjI77YE6QOOAv95UiYtXMZJY+/ZvqeaHwlrS4Old9hdY1DGQCxKvz0yeGhwJDddwxfXRa3m11AktBCzmO4sJwx3GL2F9RJxMjQzYU+KGyvSGlHuBaVo2zFVT62dHtKBIBLCpkWcOgVUa1Hb5Ib6mZhDDXlFkqf0vZ2M8eQdjKv/tfuULmaV9AE7/WhUPbGBuxeq/uTjndPqq+/Z+QW4A8PnxslyWfNd0rPaS8TMv3RRxGfnjbxIsqRvUr+btk7BudATLwNYoGgir+kcj/b4Td2SfDw3G3IVSlJPv4fB4zkQODQRPCY=~4538693~3162949; Domain=.openjdk.org; Path=/; Expires=Sat, 19 Jul 2025 09:14:59 GMT; Max-Age=14400
HTTP/2 200
content-type: text/html
last-modified: Thu, 05 Jun 2025 17:17:23 GMT
vary: Accept-Encoding
etag: "6841d123-2e8c"
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: Sat, 19 Jul 2025 05:15:00 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.