mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +08:00
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"description": "Official Early-Access Builds of OpenJDK",
|
|
"homepage": "https://jdk.java.net/",
|
|
"version": "27-33-ea",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://download.java.net/java/early_access/jdk27/33/GPL/openjdk-27-ea+33_windows-x64_bin.zip",
|
|
"hash": "b0cb0a5e7a3a55c33156aafff55edd46f46b7e7f306743285691c76bc7d79263"
|
|
}
|
|
},
|
|
"extract_dir": "jdk-27",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://jdk.java.net/27",
|
|
"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"
|
|
}
|
|
}
|