{ "description": "The Microsoft Build of OpenJDK is a no-cost long-term supported distribution and Microsoft's way to collaborate and contribute to the Java ecosystem.", "homepage": "https://www.microsoft.com/openjdk/", "version": "21.0.12", "license": "GPL-2.0-only WITH Classpath-exception-2.0", "architecture": { "64bit": { "url": "https://aka.ms/download-jdk/microsoft-jdk-21.0.12-windows-x64.zip", "hash": "bf27a5d6298c736af8daf5b8c883098e83291446e5766118d8a5ea6a2617195d" }, "arm64": { "url": "https://aka.ms/download-jdk/microsoft-jdk-21.0.12-windows-aarch64.zip", "hash": "2118bb60b19002a0bcc420267518352f10d2be25ce1c79c51701b87b209bbc2a" } }, "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" }, "checkver": { "url": "https://docs.microsoft.com/java/openjdk/download", "regex": "(?microsoft-jdk-((?21[\\d.]*?).(?[\\d]+).[\\d]+)-windows-x64).zip" }, "autoupdate": { "architecture": { "64bit": { "url": "https://aka.ms/download-jdk/microsoft-jdk-$version-windows-x64.zip" }, "arm64": { "url": "https://aka.ms/download-jdk/microsoft-jdk-$version-windows-aarch64.zip" } }, "hash": { "url": "$url.sha256sum.txt" }, "extract_dir": "jdk-$matchVer+$matchBuild" } }