mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-27 23:26:40 +08:00
36 lines
1.4 KiB
JSON
36 lines
1.4 KiB
JSON
{
|
|
"description": "AdoptOpenJDK 8 with Eclipse OpenJ9 JVM",
|
|
"homepage": "https://adoptopenjdk.net",
|
|
"version": "8u192-b12",
|
|
"license": "GPL-2.0-with-classpath-exception",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u192-b12/OpenJDK8U-jdk_x64_windows_openj9_8u192b12.zip",
|
|
"hash": "e4aa48cad61e40d1b5c6d21e942f55c3b099c9e754493841b459b1aa6574c799"
|
|
}
|
|
},
|
|
"extract_dir": "jdk8u192-b12",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk8?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jdk",
|
|
"jp": "$.binaries[0].checksum_link",
|
|
"re": "https://github.com/(?<url>.*?(?<tag>jdk(?<major>[\\d]+)(?<update>u[\\d]+)-(?<build>b[\\d]+)(?:_openj9-(?<jvmver>[\\d.]+))?).*?)(?<zip>.zip)?.sha256.txt",
|
|
"replace": "${major}${update}-${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$matchUpdate-$matchBuild"
|
|
}
|
|
}
|