From 9d8ab63ee5bd462bd4733561fbaf161d597ab062 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 4 Jul 2025 11:29:43 -0500 Subject: [PATCH] build: add back java11 for 1.16.5 (#3530) --- .github/workflows/build-multiarch.yml | 5 +++++ docs/versions/java.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-multiarch.yml b/.github/workflows/build-multiarch.yml index 99faf6f8..3e46e38d 100644 --- a/.github/workflows/build-multiarch.yml +++ b/.github/workflows/build-multiarch.yml @@ -29,6 +29,7 @@ jobs: - java17 - java17-graalvm - java17-alpine + - java11 - java8 - java8-graalvm-ce - java8-openj9 @@ -74,6 +75,10 @@ jobs: baseImage: eclipse-temurin:17-jre-alpine platforms: linux/amd64 mcVersion: 1.20.4 + - variant: java11 + baseImage: adoptopenjdk:11-jre-hotspot + platforms: linux/amd64,linux/arm/v7,linux/arm64 + mcVersion: 1.16.5 # JAVA 8: NOTE: Unable to go past 8u312 because of Forge dependencies - variant: java8 baseImage: eclipse-temurin:8u312-b07-jre-focal diff --git a/docs/versions/java.md b/docs/versions/java.md index bb91bbfb..97080c97 100644 --- a/docs/versions/java.md +++ b/docs/versions/java.md @@ -23,6 +23,7 @@ where `` refers to the first column of this table: | java17 | 17 | Ubuntu | Hotspot | amd64, arm64, armv7 | | | java17-graalvm | 17 | Oracle | Oracle GraalVM (3) | amd64, arm64 | | | java17-alpine | 17 | Alpine | Hotspot | amd64 (1) | | +| java11 | 11 | Ubuntu | Hotspot | amd64, arm64, armv7 | (4) | | java8 | 8 | Ubuntu | Hotspot | amd64, arm64, armv7 | | | java8-jdk | 8 | Ubuntu | Hotspot+JDK | amd64 | | | java8-openj9 | 8 | Debian | OpenJ9 | amd64 | | @@ -33,6 +34,7 @@ Notes 1. Why no arm64 for Java 17 Alpine? That is because the base images, such as [elipse-temurin](https://hub.docker.com/_/eclipse-temurin/tags?page=&page_size=&ordering=&name=17-jre-alpine) do not provide support for that. Use the Ubuntu based images instead. 2. Short-term variant, subject to deprecation upon next version introduction 3. Based on the [Oracle GraalMV images](https://blogs.oracle.com/java/post/new-oracle-graalvm-container-images), which as of JDK 17, are now under the [GraalVM Free License](https://blogs.oracle.com/java/post/graalvm-free-license) incorporating what used to be known as the GraalVM Enterprise. +4. This version of Java works with PaperMC, etc version 1.16.5 !!! example "Example using java8" @@ -131,7 +133,6 @@ The following image tags have been deprecated and are no longer receiving update - adopt15 - openj9-nightly - multiarch-latest -- java11 - java16/java16-openj9 - java17-graalvm-ce - java17-openj9