mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +08:00
33 lines
1.2 KiB
JSON
33 lines
1.2 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": "18.0.2.9.1",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://corretto.aws/downloads/resources/18.0.2.9.1/amazon-corretto-18.0.2.9.1-windows-x64-jdk.zip",
|
|
"hash": "md5:8f0b98a63b5bb772897729237ca75f70"
|
|
}
|
|
},
|
|
"extract_dir": "jdk18.0.2_9",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"github": "https://github.com/corretto/corretto-18"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
|
|
"hash": {
|
|
"url": "https://github.com/corretto/corretto-18/releases/tag/$version",
|
|
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
|
|
}
|
|
}
|
|
},
|
|
"extract_dir": "jdk$matchHead_$buildVersion"
|
|
}
|
|
}
|