Closed karthikvadla09 closed 7 months ago
looked in the wayback machine, and there's a snapshot from 2020
https://web.archive.org/web/20201011091629/https://github.com/downloads/alexkasko/openjdk-unofficial-builds/openjdk-1.6.0-unofficial-b27-windows-amd64.zip
which redirects to https://web.archive.org/web/20201011091629if_/https://github.s3.amazonaws.com/downloads/alexkasko/openjdk-unofficial-builds/openjdk-1.6.0-unofficial-b27-windows-amd64.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20201011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201011T091629Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=35fb6f40fd0b8b9704692e09ebc381751df4057f2affd893d269988ee02e5dc8
testing it currently (linking to the amazonaws file)
saw a pull request that mentioned there being a bitbucket repository for builds, testing a new URL
index 2a33133..43af369 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')" <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.6.0-unofficial-b31-windows-amd64-installer.zip', 'C:\Windows\Temp\openjdk-1.6.0-unofficial-b31-windows-amd64-installer.zip')" <NUL
+cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\openjdk-1.6.0-unofficial-b31-windows-amd64-installer.zip" -oC:\openjdk6"
can confirm, the install goes through normally
Fixed in #619
Issue Description
Repository not found https://github.com/downloads/alexkasko/openjdk-unofficial-builds/openjdk-1.6.0-unofficial-b27-windows-amd64.zip
Only the repository is not found and if there is any alternative or I have to make changes in the batch file please let me know..
Host System
Command Output
==> virtualbox-iso: Exception calling "DownloadFile" with "2" argument(s): "The remote server ==> virtualbox-iso: returned an error: (404) Not Found." ==> virtualbox-iso: At line:1 char:96 ==> virtualbox-iso: + ... pe]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://g ... ==> virtualbox-iso: +
~~~~~~~~~~~~~ ==> virtualbox-iso: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException ==> virtualbox-iso: + FullyQualifiedErrorId : WebException