mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"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": "21.0.12.8.1",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://corretto.aws/downloads/resources/21.0.12.8.1/amazon-corretto-21.0.12.8.1-windows-x64-jdk.zip",
|
|
"hash": "de9ad88fb2575a1aff4715b192014ba31edd6e411d243371f377cff0560e34bc"
|
|
}
|
|
},
|
|
"extract_dir": "jdk21.0.12_8",
|
|
"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.21.zip.resource",
|
|
"regex": "/([\\d.]+)/"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"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.21.zip.checksum_sha256"
|
|
}
|
|
}
|
|
},
|
|
"extract_dir": "jdk$matchHead_$buildVersion"
|
|
}
|
|
}
|