From dc15e79b45d457fdef9c5cb98914cb4c0ed9dd2f Mon Sep 17 00:00:00 2001 From: ShahzebFarruk <61950234+ShahzebFarruk@users.noreply.github.com> Date: Tue, 2 May 2023 23:03:03 -0400 Subject: [PATCH] Update install_openjdk6.bat due to deprecated url & jdk Update install_openjdk6.bat due to deprecated url & jdk6 to jdk7. The vagrant .\build1.ps1 script fails due to this install_openjdk6.bat script failing. The file was not updated in the past 5 years and the jdk repo URL has changed by alexkasko Link to repo: https://github.com/alexkasko/openjdk-unofficial-builds/. The file itself is present on bitbucket itself now. Link to the latest repo: https://bitbucket.org/alexkasko/openjdk-unofficial-builds/downloads/openjdk-1.7.0-u80-unofficial-windows-amd64-installer.zip Fixed the batch script to latest url. The script dosen't fail now. --- scripts/installs/install_openjdk6.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installs/install_openjdk6.bat b/scripts/installs/install_openjdk6.bat index 2a33133..ffb7800 100644 --- a/scripts/installs/install_openjdk6.bat +++ b/scripts/installs/install_openjdk6.bat @@ -1,2 +1,2 @@ -powershell -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/downloads/alexkasko/openjdk-unofficial-builds/openjdk-1.6.0-unofficial-b27-windows-amd64.zip', 'C:\Windows\Temp\openjdk-1.6.0-unofficial-b27-windows-amd64.zip')"