mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"description": "OpenJDK 17 binaries built using source code from the CentOS project",
|
|
"homepage": "https://github.com/ojdkbuild/ojdkbuild",
|
|
"version": "17.0.3.0.6-1",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-17-openjdk-17.0.3.0.6-1/java-17-openjdk-17.0.3.0.6-1.win.x86_64.msi",
|
|
"hash": "e5a7327fe5fc3c90bb8dc96e7cfbefaf965eda9ff89f4c730753171385b33266"
|
|
}
|
|
},
|
|
"pre_install": "scoop config MSIEXTRACT_USE_LESSMSI True",
|
|
"extract_dir": "ojdkbuild\\java-17-openjdk-17.0.3.0-1",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/raw/master/README.md",
|
|
"regex": "download/java-17-openjdk-([\\d.-]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-$majorVersion-openjdk-$version/java-$majorVersion-openjdk-$version.win.x86_64.msi"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
},
|
|
"extract_dir": "ojdkbuild\\java-$majorVersion-openjdk-$matchHead.$buildVersion-$preReleaseVersion"
|
|
},
|
|
"notes": [
|
|
"WARNING: This older version of the JDK are provided to help developers debug issues.",
|
|
"It is not updated with the latest security patches and are not recommended for use in production."
|
|
]
|
|
}
|