Skip to content

Commit 69c9aa0

Browse files
committed
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
1 parent 0f12bec commit 69c9aa0

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

bucket/oraclejdk-21.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"description": "Oracle Java Platform, Standard Edition Development Kit (JDK) 21 LTS",
3+
"homepage": "https://www.oracle.com/java/technologies/downloads/#java21",
4+
"version": "21.0.11",
5+
"license": "https://www.oracle.com/downloads/licenses/no-fee-license.html",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://download.oracle.com/java/21/archive/jdk-21.0.11_windows-x64_bin.zip",
9+
"hash": "947660f83b33bcda0da3497b2959bce1523fc3a000689147e3671574c8e47eca"
10+
}
11+
},
12+
"extract_dir": "jdk-21.0.11",
13+
"env_add_path": "bin",
14+
"env_set": {
15+
"JAVA_HOME": "$dir"
16+
},
17+
"checkver": {
18+
"url": "https://www.oracle.com/java/technologies/javase/21u-relnotes.html",
19+
"useragent": "curl/7",
20+
"regex": "<li>JDK ([\\d.]+)"
21+
},
22+
"autoupdate": {
23+
"architecture": {
24+
"64bit": {
25+
"url": "https://download.oracle.com/java/$majorVersion/archive/jdk-$version_windows-x64_bin.zip"
26+
}
27+
},
28+
"hash": {
29+
"url": "$url.sha256"
30+
},
31+
"extract_dir": "jdk-$version"
32+
}
33+
}

bucket/oraclejdk-26.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"description": "Oracle Java Platform, Standard Edition Development Kit (JDK) 26",
3+
"homepage": "https://www.oracle.com/java/",
4+
"version": "26.0.1",
5+
"license": "https://www.oracle.com/downloads/licenses/no-fee-license.html",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://download.oracle.com/java/26/archive/jdk-26.0.1_windows-x64_bin.zip",
9+
"hash": "6ce5d87324f2b47ea714a9b394e24e3db8b247c620e1dd47ae140859a90f28c1"
10+
}
11+
},
12+
"extract_dir": "jdk-26.0.1",
13+
"env_add_path": "bin",
14+
"env_set": {
15+
"JAVA_HOME": "$dir"
16+
},
17+
"checkver": {
18+
"url": "https://www.oracle.com/java/technologies/downloads/",
19+
"useragent": "curl/7",
20+
"regex": "Java SE Development Kit ([\\d.]+) downloads"
21+
},
22+
"autoupdate": {
23+
"architecture": {
24+
"64bit": {
25+
"url": "https://download.oracle.com/java/$majorVersion/archive/jdk-$version_windows-x64_bin.zip"
26+
}
27+
},
28+
"hash": {
29+
"url": "$url.sha256"
30+
},
31+
"extract_dir": "jdk-$version"
32+
}
33+
}

0 commit comments

Comments
 (0)