JDK

The Java Development Kit: the Java runtime plus the tools that build programs, such as the compiler javac, the disassembler javap and the jar tool.

In more detail

JDK stands for Java Development Kit. You install a JDK on a developer machine and in the build stage of a container image, because that is where compiling happens. Many vendors build the JDK from the same OpenJDK source code, for example Eclipse Temurin, Oracle and Amazon Corretto. The first number of its version, such as 21, is the feature release.

Examples

javac -version  # javac 21.0.12.1
FROM eclipse-temurin:21-jdk AS build

Related terms

Taught in

References

Certification courses