Skip to content

Instantly share code, notes, and snippets.

@fabriciofx
Created August 8, 2018 19:15
Show Gist options
  • Select an option

  • Save fabriciofx/968cde5b15e010edb8e5a0e3c4910546 to your computer and use it in GitHub Desktop.

Select an option

Save fabriciofx/968cde5b15e010edb8e5a0e3c4910546 to your computer and use it in GitHub Desktop.
C:\ProgramData\chocolatey\logs>choco install jre8
Chocolatey v0.10.11
Installing the following packages:
jre8
By installing you accept licenses for the packages.
jre8 v8.0.181 [Approved]
jre8 package files install completed. Performing other installation steps.
Searching if new version exists...
ERROR: Specified cast is not valid.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of jre8 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\jre8\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
- jre8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\jre8\tools\chocolateyInstall.ps1'.
See log for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment