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