From 61aa8d0551abed74548f21a4c6bd3ba01f115edb Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 25 May 2023 17:12:49 -0400 Subject: [PATCH] Replace temurin20 with openjdk20 as former is not available on Windows Signed-off-by: Peter Zhu --- packer/scripts/windows/scoop-install-commons.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/scripts/windows/scoop-install-commons.ps1 b/packer/scripts/windows/scoop-install-commons.ps1 index b4a47f70..80ad1586 100644 --- a/packer/scripts/windows/scoop-install-commons.ps1 +++ b/packer/scripts/windows/scoop-install-commons.ps1 @@ -73,7 +73,7 @@ $zlibRegFilePath regedit /s $zlibRegFilePath # Install jdk -$jdkVersionList = "temurin8-jdk JAVA8_HOME", "temurin11-jdk JAVA11_HOME", "temurin17-jdk JAVA17_HOME", "temurin19-jdk JAVA19_HOME", "temurin20-jdk JAVA20_HOME", "openjdk14 JAVA14_HOME" +$jdkVersionList = "temurin8-jdk JAVA8_HOME", "temurin11-jdk JAVA11_HOME", "temurin17-jdk JAVA17_HOME", "temurin19-jdk JAVA19_HOME", "openjdk20 JAVA20_HOME", "openjdk14 JAVA14_HOME" Foreach ($jdkVersion in $jdkVersionList) { $jdkVersion