choco_install_java

PS C:\Users\mcsec> choco search java Chocolatey v1.1.0 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:

- A pending system reboot request has been detected, however, this is
  being ignored due to the current command being used 'search'.
  It is recommended that you reboot at your earliest convenience.

PS C:\Users\mcsec> choco install openjdk -y Chocolatey v1.1.0 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:

- A pending system reboot request has been detected, however, this is
  being ignored due to the current Chocolatey configuration.  If you
  want to halt when this occurs, then either set the global feature
  using:
    choco feature enable -name=exitOnRebootDetected
  or pass the option --exit-when-reboot-detected.

Installing the following packages: openjdk By installing, you accept licenses for the packages. Progress: Downloading openjdk 19.0.0… 100%

openjdk v19.0.0 [Approved] openjdk package files install completed. Performing other installation steps. Downloading openjdk 64 bit

 from 'https://download.java.net/java/GA/jdk19/877d6127e982470ba2a7faa31cc93d04/36/GPL/openjdk-19_windows-x64_bin.zip'
Progress: 100% - Completed download of C:\Users\mcsec\AppData\Local\Temp\chocolatey\openjdk\19.0.0\openjdk-19_windows-x64_bin.zip (185.35 MB). Download of openjdk-19_windows-x64_bin.zip (185.35 MB) completed. Hashes match. Extracting C:\Users\mcsec\AppData\Local\Temp\chocolatey\openjdk\19.0.0\openjdk-19_windows-x64_bin.zip to C:\Program Files\OpenJDK… C:\Program Files\OpenJDK PATH environment variable does not have C:\Program Files\OpenJDK\jdk-19\bin in it. Adding… 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 openjdk was successful.
 Software installed to 'C:\Program Files\OpenJDK'

Chocolatey installed 1/1 packages.

See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

choco_install_java.txt · Last modified: 2024/04/28 03:44 by 127.0.0.1