mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +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": "26.0.1-8",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_windows-x64_bin.zip",
|
|
"hash": "b381d30647aed9ff440abed5ab61af01d8578c290cd407c57e064ebc4b0151be"
|
|
}
|
|
},
|
|
"extract_dir": "jdk-26.0.1",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://jdk.java.net/archive/",
|
|
"re": "https://download\\.java\\.net/java/(?<type>GA)/(?<path>jdk(?<major>26(?:\\.[\\d]+)*)/[^/]+/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>26(?:\\.[\\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"
|
|
}
|
|
}
|