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/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:latest5 weeks ago2148c4462f21
23.0.1-oraclelinux9linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.1-oraclelinux95 weeks ago2148c4462f21
23.0.1-ol9-amd64linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.1-ol9-amd645 weeks ago2148c4462f21
23.0.1linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.15 weeks ago2148c4462f21
23-oraclelinux9linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:23-oraclelinux95 weeks ago2148c4462f21
23linux/amd64315.68 MBdocker pull container-registry.oracle.com/java/openjdk:235 weeks ago2148c4462f21
latestlinux/arm64311.41 MBdocker pull container-registry.oracle.com/java/openjdk:latest5 weeks agob0842131d50a
23.0.1-oraclelinux9linux/arm64311.41 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.1-oraclelinux95 weeks agob0842131d50a
23.0.1-ol9-aarch64linux/arm64311.41 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.1-ol9-aarch645 weeks agob0842131d50a
23.0.1linux/arm64311.41 MBdocker pull container-registry.oracle.com/java/openjdk:23.0.15 weeks agob0842131d50a
23-oraclelinux9linux/arm64311.41 MBdocker pull container-registry.oracle.com/java/openjdk:23-oraclelinux95 weeks agob0842131d50a
23linux/arm64311.41 MBdocker pull container-registry.oracle.com/java/openjdk:235 weeks agob0842131d50a
23-ga-oraclelinux9linux/amd64306.29 MBdocker pull container-registry.oracle.com/java/openjdk:23-ga-oraclelinux92 months ago97163a584c3f
23-ga-ol9-amd64linux/amd64306.29 MBdocker pull container-registry.oracle.com/java/openjdk:23-ga-ol9-amd642 months ago97163a584c3f
23-galinux/amd64306.29 MBdocker pull container-registry.oracle.com/java/openjdk:23-ga2 months ago97163a584c3f