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 12 binaries built using source code from the CentOS project",
|
|
"homepage": "https://github.com/ojdkbuild/ojdkbuild",
|
|
"version": "12.0.2.9-1",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-12-openjdk-12.0.2.9-1/java-12-openjdk-12.0.2.9-1.windows.ojdkbuild.x86_64.msi",
|
|
"hash": "22db792f00f376e31fca5da6dd7b74d02b55fc1d7f36d8abe48783d0a2a5b5f8"
|
|
}
|
|
},
|
|
"pre_install": "scoop config MSIEXTRACT_USE_LESSMSI True",
|
|
"extract_dir": "ojdkbuild\\java-12-openjdk-12.0.2-1",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/raw/master/README.md",
|
|
"regex": "download/java-12-openjdk-([\\d.-]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-$majorVersion-openjdk-$version/java-$majorVersion-openjdk-$version.windows.ojdkbuild.x86_64.msi"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
},
|
|
"extract_dir": "ojdkbuild\\java-$majorVersion-openjdk-$matchHead-$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."
|
|
]
|
|
}
|