mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +08:00
* Remove 32-bit architecture as per JEP 449 * Replace all url with Azul Metadata API Fitted using `include_fields=sha256_hash`. * Fix JSON path not recognizing array * Introduce Zulu 21 * Run auto update * Remove unsupported version 6 * Introduce Zulu 22
52 lines
2.4 KiB
JSON
52 lines
2.4 KiB
JSON
{
|
|
"description": "Zulu 9 is certified build of OpenJDK 9",
|
|
"homepage": "https://www.azul.com/products/zulu-community/",
|
|
"version": "9.0.7.1",
|
|
"license": {
|
|
"identifier": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"url": "https://www.azulsystems.com/license/zulu_third_party_licenses.html"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cdn.azul.com/zulu/bin/zulu9.0.7.1-ca-jdk9.0.7-win_x64.zip",
|
|
"hash": "75f76c53c6a1f12b1a571b86bd9708ab75adf582d689dddc94fdd77dcc0f3f5c",
|
|
"extract_dir": "zulu9.0.7.1-ca-jdk9.0.7-win_x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://cdn.azul.com/zulu/bin/zulu9.0.7.1-ca-jdk9.0.7-win_i686.zip",
|
|
"hash": "fff091bee139f82941dac74980fb970583a35b6eda21f2413de9ede72cfc0699",
|
|
"extract_dir": "zulu9.0.7.1-ca-jdk9.0.7-win_i686"
|
|
}
|
|
},
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=9&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
|
|
"jsonpath": "$..download_url",
|
|
"regex": "(?<name>zulu(?<version>[\\d.]+)(?:-ca)?-jdk(?<java>[\\d.]+)-win)_x64.zip",
|
|
"replace": "${version}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
|
|
"extract_dir": "$matchName_x64",
|
|
"hash": {
|
|
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=9&os=windows&arch=x64&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
|
|
"jp": "$..sha256_hash"
|
|
}
|
|
},
|
|
"32bit": {
|
|
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
|
|
"extract_dir": "$matchName_i686",
|
|
"hash": {
|
|
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=9&os=windows&arch=xi686&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
|
|
"jp": "$..sha256_hash"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|