diff --git a/dev/appveyor-install-dependencies.ps1 b/dev/appveyor-install-dependencies.ps1 index 682d388bdf92..ae7421b8f5b1 100644 --- a/dev/appveyor-install-dependencies.ps1 +++ b/dev/appveyor-install-dependencies.ps1 @@ -94,9 +94,18 @@ if (!(Test-Path $tools)) { # # Pop-Location -# ========================== SBT + Push-Location $tools +$zuluFileName="zulu17.44.53-ca-jdk17.0.8.1-win_x64" +Start-FileDownload "https://cdn.azul.com/zulu/bin/$zuluFileName.zip" "zulu.zip" +Invoke-Expression "7z.exe x zulu.zip" +ls "$zuluFileName" +$env:JAVA_HOME = "$tools\$zuluFileName" +$env:PATH = "$JAVA_HOME\bin;" + $env:PATH +java -version + +# ========================== SBT $sbtVer = "1.9.3" Start-FileDownload "https://github.com/sbt/sbt/releases/download/v$sbtVer/sbt-$sbtVer.zip" "sbt.zip"