mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-27 11:48:56 +08:00
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
{
|
|
"description": "Official General-Availability Release of OpenJDK",
|
|
"homepage": "https://jdk.java.net/",
|
|
"version": "13.0.1-9",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://download.java.net/java/GA/jdk13.0.1/cec27d702aa74d5a8630c65ae61e4305/9/GPL/openjdk-13.0.1_windows-x64_bin.zip",
|
|
"hash": "438a6920f1851b1eeb6f09f05d9f91c4423c6586f7a1a7ccbb19df76ea5901ee"
|
|
}
|
|
},
|
|
"extract_dir": "jdk-13.0.1",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://jdk.java.net/13/",
|
|
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
|
"replace": "${version}-${build}${ea}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
},
|
|
"extract_dir": "jdk-$matchVersion"
|
|
}
|
|
}
|