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.
This commit is contained in:
ShahzebFarruk 2023-05-02 23:03:03 -04:00 committed by GitHub
parent 408d368b18
commit dc15e79b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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')" <NUL
cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\openjdk-1.6.0-unofficial-b27-windows-amd64.zip" -oC:\openjdk6"
powershell -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://bitbucket.org/alexkasko/openjdk-unofficial-builds/downloads/openjdk-1.7.0-u80-unofficial-windows-amd64-installer.zip', 'C:\Windows\Temp\openjdk-1.7.0-u80-unofficial-windows-amd64-installer.zip')" <NUL
cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\openjdk-1.7.0-u80-unofficial-windows-amd64-installer.zip" -oC:\openjdk7"