This page describes options for installing, configuring, and creating a log file for the Windows Java Runtime Environment.
This page contains the following topics:
See "JDK 8 and JRE 8 Installation Start Here" for general information about installing JDK 8 and JRE 8.
This page describes options for installation of the Java SE Runtime Environment (JRE) on Windows 32-bit platform. It is intended for:
System administrators deploying the JRE with Java Plug-in and Java Web Start technologies on multiple PCs in their Intranet without user interaction.
Vendors having products requiring the JRE. The JRE can be silently (non-interactively from the command line) installed with their product.
JRE installers are built using Microsoft Window Installer (MSI) 2.0 technology. MSI contains built-in support for silent installations. This topic explains how to manually install the JRE using the .exe
file that runs the MSI.
This section describes the command-line options for the JRE Windows Offline Installer. Run the installer as follows:
jre [INSTALLCFG=configuration_file_path] [options]
jre
refers to the JRE Windows Offline Installer base file name (for example, jre-8u05-windows-i586.exe
).
INSTALLCFG=
configuration_file_path
specifies the path of the installer configuration file. See "Installing With a Configuration File" for more information.
options
are options with specified values separated by spaces. Use the same options as listed in Table 20-1, "Configuration File Options". In addition, you may use the option /s
for the JRE Windows Offline Installer to perform a silent installation.
Use a log file to verify that an installation succeeded. To create a log file describing the installation, append /L C:\
path
setup.log
to the install command and scroll to the end of the log file to verify.
The following is an example of creating a log file:
jre-8-windows-i586.exe /s /L C:\pathsetup.log
This example causes the log to be written to the path
setup.log
file.