@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"
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
jdk8 v220.127.116.11 (forced) [Approved] jdk8 package files install completed. Performing other installation steps. Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-windows-x64.exe 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). Failures - jdk8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\jdk8\tools\chocolateyInstall.ps1'. See log for details.