Step 3: Windows - powershell fails downloading jdk-8u92-windows-x64.exe


@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString(''))"

fails with downloading jdk-8u92-windows-x64.exe.
It’s not possible to download it without account/login … at least not with the URL the script tries to download.

I downloaded and installed the file manually. Unfortunately I still can’t run

Error message:

jdk8 v8.0.92.1 (forced) [Approved]
jdk8 package files install completed. Performing other installation steps.
Downloading JDK from
ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
The install of jdk8 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

 - jdk8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1'.
 See log for details.