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/25/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 27 Platform Specification](https://openjdk.java.net/projects/jdk/27/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

podman pull

Tags

TagOS/ArchitectureSizePull CommandLast UpdatedImage ID
latestlinux/arm64373.45 MBpodman pull container-registry.oracle.com/java/openjdk:latest12 days ago1c2b45a240bf
27.0.1.1-oraclelinux9linux/arm64373.45 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.1-oraclelinux912 days ago1c2b45a240bf
27.0.1.1-ol9-aarch64linux/arm64373.45 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.1-ol9-aarch6412 days ago1c2b45a240bf
27.0.1.1linux/arm64373.45 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.112 days ago1c2b45a240bf
27-oraclelinux9linux/arm64373.45 MBpodman pull container-registry.oracle.com/java/openjdk:27-oraclelinux912 days ago1c2b45a240bf
27linux/arm64373.45 MBpodman pull container-registry.oracle.com/java/openjdk:2712 days ago1c2b45a240bf
latestlinux/amd64379.06 MBpodman pull container-registry.oracle.com/java/openjdk:latest12 days ago0c27145d8a1e
27.0.1.1-oraclelinux9linux/amd64379.06 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.1-oraclelinux912 days ago0c27145d8a1e
27.0.1.1-ol9-amd64linux/amd64379.06 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.1-ol9-amd6412 days ago0c27145d8a1e
27.0.1.1linux/amd64379.06 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.112 days ago0c27145d8a1e
27-oraclelinux9linux/amd64379.06 MBpodman pull container-registry.oracle.com/java/openjdk:27-oraclelinux912 days ago0c27145d8a1e
27linux/amd64379.06 MBpodman pull container-registry.oracle.com/java/openjdk:2712 days ago0c27145d8a1e
27.0.1.0.3-oraclelinux9linux/arm64325.65 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.0.3-oraclelinux95 weeks ago575c2f93f3ed
27.0.1.0.3-ol9-aarch64linux/arm64325.65 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.0.3-ol9-aarch645 weeks ago575c2f93f3ed
27.0.1.0.3linux/arm64325.65 MBpodman pull container-registry.oracle.com/java/openjdk:27.0.1.0.35 weeks ago575c2f93f3ed