Breadcrumb

Description

# ![OpenJDK Logo](http://openjdk.java.net/images/openjdk.png "OpenJDK") Oracle OpenJDK is a production-ready open-source build of the [Java Development Kit](https://openjdk.java.net/projects/jdk/), an implementation of the [Java SE Platform](https://docs.oracle.com/javase/specs/) under the [GNU General Public License, version 2, with the Classpath Exception](https://openjdk.java.net/legal/gplv2+ce.html). Oracle JDK builds, under a [non-open-source license](https://java.com/otnlicense), can be found at the [Oracle Technology Network](https://www.oracle.com/javadownload). # Installation Instructions You can pull the image by running the following command: # docker pull container-registry.oracle.com/java/openjdk:latest Java is installed in `/usr/java/latest` and all binaries, including `java`, `javac`, and `jshell` are available in the path via the alternatives tool. The default command for this image is `jshell` which is used to interactively evaluate declarations, statements, and expressions of the Java programming language in a read-eval-print loop (REPL). # How to use these images The Oracle OpenJDK image can be used as the base image for any application that requires a Java Runtime or as part of a continuous build process to generate smaller custom Java Runtimes with only the modules required by your application by using [jlink](https://docs.oracle.com/en/java/javase/15/docs/specs/man/jlink.html). If you use these images as a base image in your own dockerfiles, you should include `RUN yum -y update && rm -rf /var/cache/yum` to ensure that your images are updated during the build process. # Official Resources * [OpenJDK JDK Project](https://openjdk.java.net/projects/jdk/) * [Java SE 23 Platform Specification](https://openjdk.java.net/projects/jdk/23/spec/) # Social media resources * [X](https://twitter.com/java) * [Facebook](https://www.facebook.com/ilovejava/) * [YouTube](https://www.youtube.com/user/java) * [Blogs](https://blogs.oracle.com/java/) # Supported Docker versions This image is offered for Docker version 1.4.1 and higher. # Customer Support Oracle does not offer support for OpenJDK. Users who need a supported version of Java SE should get a [Java SE Subscription](https://www.oracle.com/java/java-se-subscription.html) which offers support and updates for several JDK versions. The complete list of supported versions can be found on the [Oracle Java SE Support Roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html). # License The OpenJDK binary in this image is licensed under the [GNU General Public License, version 2, with the Classpath Exception](https://openjdk.java.net/legal/gplv2+ce.html). Oracle Linux is licensed under the [Oracle Linux End-User License Agreement](https://oss.oracle.com/ol/EULA).

Short URL for Repo

https://container-registry.oracle.com/ords/ocr/ba/java/openjdk

Open Source Terms and Restrictions

The container image you have selected and all of the software that it contains is licensed under one or more open source license that are provided in the container image. Your use of the container is subject to the terms of those licenses.

Pull Command for Latest

docker pull

Tags

TagOS/ArchitectureSizePull CommandLast UpdatedImage ID
latestlinux/amd64317.9 MBdocker pull container-registry.oracle.com/java/openjdk:latest6 weeks agoc46fe10c4f76
23.0.2-oraclelinux9linux/amd64317.9 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.2-oraclelinux96 weeks agoc46fe10c4f76
23.0.2-ol9-amd64linux/amd64317.9 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.2-ol9-amd646 weeks agoc46fe10c4f76
23.0.2linux/amd64317.9 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.26 weeks agoc46fe10c4f76
23-oraclelinux9linux/amd64317.9 MBdocker pull container-registry.oracle.com/java/openjdk:23-oraclelinux96 weeks agoc46fe10c4f76
23linux/amd64317.9 MBdocker pull container-registry.oracle.com/java/openjdk:236 weeks agoc46fe10c4f76
latestlinux/arm64314.34 MBdocker pull container-registry.oracle.com/java/openjdk:latest7 weeks agobaa568ded43b
23.0.2-oraclelinux9linux/arm64314.34 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.2-oraclelinux97 weeks agobaa568ded43b
23.0.2-ol9-aarch64linux/arm64314.34 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.2-ol9-aarch647 weeks agobaa568ded43b
23.0.2linux/arm64314.34 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.27 weeks agobaa568ded43b
23-oraclelinux9linux/arm64314.34 MBdocker pull container-registry.oracle.com/java/openjdk:23-oraclelinux97 weeks agobaa568ded43b
23linux/arm64314.34 MBdocker pull container-registry.oracle.com/java/openjdk:237 weeks agobaa568ded43b
23.0.1-oraclelinux9linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.1-oraclelinux95 months ago2148c4462f21
23.0.1-ol9-amd64linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.1-ol9-amd645 months ago2148c4462f21
23.0.1linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.15 months ago2148c4462f21