# ![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).