mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +08:00
45 lines
2.1 KiB
JSON
45 lines
2.1 KiB
JSON
{
|
|
"description": "OpenJDK 8 binaries built using source code from the CentOS project",
|
|
"homepage": "https://github.com/ojdkbuild/ojdkbuild",
|
|
"version": "1.8.0.332-1.b09",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-1.8.0-openjdk-1.8.0.332-1.b09/java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86_64.msi",
|
|
"hash": "84436c850a12f52c9658449d5bc16f1f6ad1c0af820d510414a45b8d8ad64357"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-1.8.0-openjdk-1.8.0.332-1.b09-x86/java-1.8.0-openjdk-1.8.0.332-1.b09.ojdkbuild.windows.x86.msi",
|
|
"hash": "048b5de7c319a5989465b6d734f5f7a5a7a1eb0881f89e19473abe59fbd9c574"
|
|
}
|
|
},
|
|
"pre_install": "scoop config MSIEXTRACT_USE_LESSMSI True",
|
|
"extract_dir": "ojdkbuild\\java-1.8.0-openjdk-1.8.0.332-1",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/raw/master/README.md",
|
|
"regex": "download/java-1.8.0-openjdk-((?<short>[\\d.-]+)\\.(?<build>b\\d+))"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-$matchHead-openjdk-$version/java-$matchHead-openjdk-$version.ojdkbuild.windows.x86_64.msi"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-$matchHead-openjdk-$version-x86/java-$matchHead-openjdk-$version.ojdkbuild.windows.x86.msi"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
},
|
|
"extract_dir": "ojdkbuild\\java-$matchHead-openjdk-$matchShort"
|
|
},
|
|
"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."
|
|
]
|
|
}
|