mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-08 15:07:36 +08:00
33 lines
1.3 KiB
JSON
33 lines
1.3 KiB
JSON
{
|
|
"description": "OpenJDK binaries built using source code from the CentOS project",
|
|
"homepage": "https://github.com/ojdkbuild/ojdkbuild",
|
|
"version": "17.0.2.0.8-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.2.0.8-1/java-17-openjdk-17.0.2.0.8-1.win.x86_64.zip",
|
|
"hash": "889f10ca78f20509d93ab89c273b2d2282305e1b4fa499577d88871f9e3ac712",
|
|
"extract_dir": "java-17-openjdk-17.0.2.0.8-1.win.x86_64"
|
|
}
|
|
},
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/raw/master/README.md",
|
|
"regex": "download/(?<folder>(?:java-17-openjdk-)?(?<version>[\\d]{2,}[\\db.-]+))/(?<url>java-(?<short>[\\d.]+)-openjdk-([\\db.-]+)(?:(?:.ojdkbuild|.windows){2}|.win){1}).x86_64.zip"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/$matchFolder/$matchUrl.x86_64.zip",
|
|
"extract_dir": "$matchUrl.x86_64"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|