
Server JRE (Server Java Runtime Environment) for deploying Java applications on servers. Includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (the Java plug-in), auto-update, nor an installer.
This package unpacks the Java Server JRE version offered at https://www.java.com to the default directory "C:\tools\Java\server-jre\jre1.8.0_{version}".
If you wish to unpack to an alternate directory, use the InstallationPath parameter. Example:
choco install server-jre8 -PackageParameters "/InstallationPath:c:\Program Files" -y
The installation will also set the JAVA_HOME environment variable to the destination directory if not present yet and add %JAVA_HOME%/bin to the PATH environment.
This package is only available in 64-bit.
The following package parameters can be set:
/InstallationPath - Install to a different destination folder. Default: C:\tools\Java\server-jre/Force - Force setting JAVA_HOME to the new version even if the variable was already set/Machine - Set JAVA_HOME and PATH on 'Machine' level, instead of 'User' levelThese parameters can be passed to the installer with the use of --packageParameters.
For example: choco install server-jre8 --packageParameters '"/InstallationPath:C:\tools\Java /Force /Machine"'.