mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
39 lines
1.4 KiB
JSON
39 lines
1.4 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": "17.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/17/archive/graalvm-jdk-17.0.12_windows-x64_bin.zip",
|
|
"hash": "8b978e56dddc0edc60db99794b56975740d9c52293b31549cfc3f7516fc18b43"
|
|
}
|
|
},
|
|
"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://www.oracle.com/java/technologies/javase/graalvm-jdk17-archive-downloads.html",
|
|
"useragent": "Mozilla/5.0",
|
|
"regex": "GraalVM for Java Development Kit ([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-$version_windows-x64_bin.zip",
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|