Java Platform, Standard Edition Installation Guide
Contents    Previous    Next

17 Windows JRE Installer Options

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.

Introduction

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.

Command-Line Installation

This section describes the command-line options for both the JRE Windows Offline Installer and the JRE MSI Enterprise Installer. Run the installer as follows:

jre [INSTALLCFG=configuration_file_path] [options]

Static Installation

If you perform a static installation of the JRE (by specifying the command-line or configuration file option STATIC=1), then the Java Auto Update feature will leave that JRE installed during a Java update. A later version of the same JRE family will be installed in a separate directory. This mode ensures that vendors, who require a specific version of the JRE for their product, can be certain that the JRE will not be overwritten by a newer version.

The default installation directory of a static JRE is C:\Program Files (x86)\Java\jren (for 32-bit versions) or C:\Program Files\Java\jren (for 64-bit versions), where n is the full Java SE release and update number (for example, n = 1.8.0_20 for release 8 update 20).

Creating a Log File

Use a log file to verify that an installation succeeded. To create a log file describing the installation, append /L C:\pathsetup.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 pathsetup.log file.

Contents    Previous    Next

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.