Skip to content

Commit

Permalink
feat(openjdk): added microsoft jdk 21 and updated microsoft lts (#512)
Browse files Browse the repository at this point in the history
* feat(microsoft-jdk): added microsoft jdk 21 and updated microsoft lts

Signed-off-by: Abhiuday <contact.abhiuday@gmail.com>

* fix(microsoft-jdk): fixed eof

Signed-off-by: Abhiuday <contact.abhiuday@gmail.com>

---------

Signed-off-by: Abhiuday <contact.abhiuday@gmail.com>
  • Loading branch information
aeswibon authored Apr 9, 2024
1 parent 4b633cd commit 940c4a9
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bucket/microsoft-lts-jdk.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"description": "The Microsoft Build of OpenJDK is a no-cost long-term supported distribution and Microsoft's way to collaborate and contribute to the Java ecosystem.",
"homepage": "https://www.microsoft.com/openjdk/",
"version": "17.0.10",
"version": "21.0.2",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://aka.ms/download-jdk/microsoft-jdk-17.0.10-windows-x64.zip",
"hash": "29b8290b7cecaf40de5048b424a44a224063294aebfa60bc42e82501e491c0b5"
"url": "https://aka.ms/download-jdk/microsoft-jdk-21.0.2-windows-x64.zip",
"hash": "c910723abc9e2d9ee98c537278076e2b89489449839be2d16715b7dacd378663"
},
"arm64": {
"url": "https://aka.ms/download-jdk/microsoft-jdk-17.0.10-windows-aarch64.zip",
"hash": "3864e47d044890bf6250978ee1b98babbb35ac6206f7d754a9ba7ddf4c504248"
"url": "https://aka.ms/download-jdk/microsoft-jdk-21.0.2-windows-aarch64.zip",
"hash": "5056332236ac18bb0e4c5ea719b88b93db44a6d4d49b326af7927b3abaa653e7"
}
},
"extract_to": "tmp",
Expand All @@ -26,7 +26,7 @@
},
"checkver": {
"url": "https://docs.microsoft.com/java/openjdk/download",
"regex": "(?<ms>microsoft-jdk-((?<ver>17[\\d.]*?).(?<build>[\\d]+).[\\d]+)-windows-x64).zip"
"regex": "(?<ms>microsoft-jdk-((?<ver>21[\\d.]*?).(?<build>[\\d]+).[\\d]+)-windows-x64).zip"
},
"autoupdate": {
"architecture": {
Expand All @@ -43,3 +43,4 @@
"extract_dir": "jdk-$matchVer+$matchBuild"
}
}

46 changes: 46 additions & 0 deletions bucket/microsoft21-jdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"description": "The Microsoft Build of OpenJDK is a no-cost long-term supported distribution and Microsoft's way to collaborate and contribute to the Java ecosystem.",
"homepage": "https://www.microsoft.com/openjdk/",
"version": "21.0.2",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://aka.ms/download-jdk/microsoft-jdk-21.0.2-windows-x64.zip",
"hash": "c910723abc9e2d9ee98c537278076e2b89489449839be2d16715b7dacd378663"
},
"arm64": {
"url": "https://aka.ms/download-jdk/microsoft-jdk-21.0.2-windows-aarch64.zip",
"hash": "5056332236ac18bb0e4c5ea719b88b93db44a6d4d49b326af7927b3abaa653e7"
}
},
"extract_to": "tmp",
"installer": {
"script": [
"(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }",
"Remove-Item -Recurse \"$dir\\tmp\""
]
},
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://docs.microsoft.com/java/openjdk/download",
"regex": "(?<ms>microsoft-jdk-((?<ver>21[\\d.]*?).(?<build>[\\d]+).[\\d]+)-windows-x64).zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://aka.ms/download-jdk/microsoft-jdk-$version-windows-x64.zip"
},
"arm64": {
"url": "https://aka.ms/download-jdk/microsoft-jdk-$version-windows-aarch64.zip"
}
},
"hash": {
"url": "$url.sha256sum.txt"
},
"extract_dir": "jdk-$matchVer+$matchBuild"
}
}

0 comments on commit 940c4a9

Please sign in to comment.