0% found this document useful (0 votes)
20 views2 pages

Windows JRE Installer Options

This document provides information about installing the Java Runtime Environment on Windows, including options for command line installation, static installation, and creating an installation log file.

Uploaded by

manoj k r
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

Windows JRE Installer Options

This document provides information about installing the Java Runtime Environment on Windows, including options for command line installation, static installation, and creating an installation log file.

Uploaded by

manoj k r
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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:

"Introduction"

"Command-Line Installation"

"Static Installation"

"Creating a Log File"

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 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.

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, 2022, Oracle and/or its affiliates. All rights reserved. | Cookie Preferences | Ad Choices. Contact Us

You might also like