JRE

The JVM plus the Java standard library: everything needed to run a compiled Java program, but no compiler.

In more detail

JRE stands for Java Runtime Environment. Oracle stopped offering a separate JRE download after Java 8, but vendors such as Eclipse Adoptium still publish runtime-only builds and container images, such as the eclipse-temurin 21-jre tag. A runtime image is smaller than a JDK image and contains no compiler for an attacker to misuse, which is why the final stage of a container build usually starts from one.

Example

FROM eclipse-temurin:21-jre  # the run stage of the course Dockerfile

Related terms

Taught in

References