From 0f12bec6255cd91b58419003f99f98737168d24a Mon Sep 17 00:00:00 2001 From: B67687 <111849193+B67687@users.noreply.github.com> Date: Wed, 29 Apr 2026 17:28:42 +0800 Subject: [PATCH 1/2] corretto-lts-jdk: update from JDK 17 to JDK 21 Update to point to JDK 21 (current LTS release) instead of JDK 17. - version: 17.0.19.10.1 -> 21.0.11.10.1 - extract_dir: jdk17.0.19_10 -> jdk21.0.11_10 - checkver jsonpath: 17 -> 21 Closes #553 --- bucket/corretto-lts-jdk.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bucket/corretto-lts-jdk.json b/bucket/corretto-lts-jdk.json index dea1af256eb..533132462db 100644 --- a/bucket/corretto-lts-jdk.json +++ b/bucket/corretto-lts-jdk.json @@ -1,22 +1,22 @@ { "description": "Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)", "homepage": "https://aws.amazon.com/corretto/", - "version": "17.0.19.10.1", + "version": "21.0.11.10.1", "license": "GPL-2.0-only WITH Classpath-exception-2.0", "architecture": { "64bit": { - "url": "https://corretto.aws/downloads/resources/17.0.19.10.1/amazon-corretto-17.0.19.10.1-windows-x64-jdk.zip", - "hash": "ab748d9814d99a848916b54b36ae0f1d104493e61a19e1887072b4db9802c6ac" + "url": "https://corretto.aws/downloads/resources/21.0.11.10.1/amazon-corretto-21.0.11.10.1-windows-x64-jdk.zip", + "hash": "5d63fdb5a19393081919afc0daa4ce82a7fadcced569981a995529caed28fb14" } }, - "extract_dir": "jdk17.0.19_10", + "extract_dir": "jdk21.0.11_10", "env_add_path": "bin", "env_set": { "JAVA_HOME": "$dir" }, "checkver": { "url": "https://github.com/corretto/corretto-downloads/raw/main/latest_links/indexmap_with_checksum.json", - "jsonpath": "$.windows.x64.jdk.17.zip.resource", + "jsonpath": "$.windows.x64.jdk.21.zip.resource", "regex": "/([\\d.]+)/" }, "autoupdate": { @@ -25,7 +25,7 @@ "url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip", "hash": { "url": "https://github.com/corretto/corretto-downloads/raw/main/latest_links/indexmap_with_checksum.json", - "jsonpath": "$.windows.x64.jdk.17.zip.checksum_sha256" + "jsonpath": "$.windows.x64.jdk.21.zip.checksum_sha256" } } }, From 69c9aa041a4f7b235af9b2aed80450bb81e370a6 Mon Sep 17 00:00:00 2001 From: B67687 <111849193+B67687@users.noreply.github.com> Date: Wed, 29 Apr 2026 17:40:23 +0800 Subject: [PATCH 2/2] oraclejdk: add explicit version manifests Add oraclejdk-21.json (LTS) and oraclejdk-26.json to follow bucket pattern. This gives users explicit version pinning alongside the generic oraclejdk (latest) and oraclejdk-lts (latest LTS) options. Relates to #566 --- bucket/oraclejdk-21.json | 33 +++++++++++++++++++++++++++++++++ bucket/oraclejdk-26.json | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 bucket/oraclejdk-21.json create mode 100644 bucket/oraclejdk-26.json diff --git a/bucket/oraclejdk-21.json b/bucket/oraclejdk-21.json new file mode 100644 index 00000000000..f30e4ec9a86 --- /dev/null +++ b/bucket/oraclejdk-21.json @@ -0,0 +1,33 @@ +{ + "description": "Oracle Java Platform, Standard Edition Development Kit (JDK) 21 LTS", + "homepage": "https://www.oracle.com/java/technologies/downloads/#java21", + "version": "21.0.11", + "license": "https://www.oracle.com/downloads/licenses/no-fee-license.html", + "architecture": { + "64bit": { + "url": "https://download.oracle.com/java/21/archive/jdk-21.0.11_windows-x64_bin.zip", + "hash": "947660f83b33bcda0da3497b2959bce1523fc3a000689147e3671574c8e47eca" + } + }, + "extract_dir": "jdk-21.0.11", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://www.oracle.com/java/technologies/javase/21u-relnotes.html", + "useragent": "curl/7", + "regex": "
  • JDK ([\\d.]+)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.oracle.com/java/$majorVersion/archive/jdk-$version_windows-x64_bin.zip" + } + }, + "hash": { + "url": "$url.sha256" + }, + "extract_dir": "jdk-$version" + } +} diff --git a/bucket/oraclejdk-26.json b/bucket/oraclejdk-26.json new file mode 100644 index 00000000000..94791c90ea1 --- /dev/null +++ b/bucket/oraclejdk-26.json @@ -0,0 +1,33 @@ +{ + "description": "Oracle Java Platform, Standard Edition Development Kit (JDK) 26", + "homepage": "https://www.oracle.com/java/", + "version": "26.0.1", + "license": "https://www.oracle.com/downloads/licenses/no-fee-license.html", + "architecture": { + "64bit": { + "url": "https://download.oracle.com/java/26/archive/jdk-26.0.1_windows-x64_bin.zip", + "hash": "6ce5d87324f2b47ea714a9b394e24e3db8b247c620e1dd47ae140859a90f28c1" + } + }, + "extract_dir": "jdk-26.0.1", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://www.oracle.com/java/technologies/downloads/", + "useragent": "curl/7", + "regex": "Java SE Development Kit ([\\d.]+) downloads" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.oracle.com/java/$majorVersion/archive/jdk-$version_windows-x64_bin.zip" + } + }, + "hash": { + "url": "$url.sha256" + }, + "extract_dir": "jdk-$version" + } +}