Skip to content

Commit 97da725

Browse files
authored
Set JDK 21 as the default JDK on Windows VM (#1898)
1 parent 90b5709 commit 97da725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: buildkite/setup-windows.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ InstallAzulZuluJDK "zulu11.52.13-ca-jdk11.0.13-win_x64.zip" "c:\openjdk11"
121121
Write-Host "Installing Azul Zulu JDK 21..."
122122
InstallAzulZuluJDK "zulu21.28.85-ca-jdk21.0.0-win_x64.zip" "c:\openjdk21"
123123

124-
## Set default JDK to Zulu 11
125-
$jdk_root = "c:\openjdk11"
124+
## Set default JDK to Zulu 21
125+
$jdk_root = "c:\openjdk21"
126126
$env:PATH = [Environment]::GetEnvironmentVariable("PATH", "Machine") + ";${jdk_root}\bin"
127127
[Environment]::SetEnvironmentVariable("PATH", $env:PATH, "Machine")
128128
$env:JAVA_HOME = $jdk_root

0 commit comments

Comments
 (0)