mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-15 11:53:07 +08:00
Add adopt9-hotspot: 9.0.4-11
This commit is contained in:
parent
62f0c79ee8
commit
92a60ea618
35
adopt9-hotspot.json
Normal file
35
adopt9-hotspot.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"description": "AdoptOpenJDK 9 with Oracle HotSpot JVM",
|
||||
"homepage": "https://adoptopenjdk.net",
|
||||
"version": "9.0.4-11",
|
||||
"license": "GPL-2.0-with-classpath-exception",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/AdoptOpenJDK/openjdk9-binaries/releases/download/jdk-9.0.4%2B11/OpenJDK9U-jdk_x64_windows_hotspot_9.0.4_11.zip",
|
||||
"hash": "b2de88155b2eaad123c2615f7eb3c0442d77545046bf85cfbcfe44fc97931dbd"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-9.0.4+11",
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk9?openjdk_impl=hotspot&os=windows&arch=x64&release=latest&type=jdk",
|
||||
"jp": "$.binaries[0].checksum_link",
|
||||
"re": "https://github.com/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?<build>[\\d]+)).*?)(?<zip>.zip)?.sha256.txt",
|
||||
"replace": "${major}-${build}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/$matchUrl.zip"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "https://github.com/$matchUrl$matchZip.sha256.txt",
|
||||
"find": "^([a-fA-F0-9]+)\\s"
|
||||
},
|
||||
"extract_dir": "jdk-$matchMajor+$matchBuild"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user