mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)",
|
|
"version": "21.0.12",
|
|
"homepage": "https://www.graalvm.org/",
|
|
"license": {
|
|
"identifier": "Freeware",
|
|
"url": "https://www.oracle.com/downloads/licenses/graal-free-license.html"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.12_windows-x64_bin.zip",
|
|
"hash": "7560971e52b236ddba7a22e7a682a9a185e56a2f6ee9cd6c4ecbb800e9643990"
|
|
}
|
|
},
|
|
"extract_to": "tmp",
|
|
"installer": {
|
|
"script": [
|
|
"(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }",
|
|
"Remove-Item -Recurse \"$dir\\tmp\""
|
|
]
|
|
},
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir",
|
|
"GRAALVM_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://docs.oracle.com/en/graalvm/jdk/21/docs/release-notes/",
|
|
"useragent": "Mozilla/5.0",
|
|
"regex": ">Oracle GraalVM for JDK ([\\d.]+)<"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-$version_windows-x64_bin.zip",
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|