This page describes options for installing, configuring, and creating a log file for the Windows Java Runtime Environment.
This page contains the following topics:
Java SE Runtime Environment 8 Downloads. Do you want to run Java™ programs, or do you want to develop Java programs? If you want to run Java programs, but not develop them, download the Java Runtime Environment, or JRE™. The Microsoft Windows Installer (MSI) Enterprise JRE Installer enables you to install the Java Runtime Environment across your enterprise. Because it fully supports Windows Installer 3.0, it is fully compatible with system management software, such as Systems Management Server (SMS) and Systems Center Configuration Manager (SCCM).
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.Java 8 Msi Code
Command-Line Installation
This section describes the command-line options for the JRE Windows Offline Installer. Run the installer as follows:
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)Javajre
n
(for 32-bit versions) or C:Program FilesJavajre
n
(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:
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:
This example causes the log to be written to the
path
setup.log
file.The “Enterprise JRE Installer”, or “Java MSI Installer”, allows system administrators to quickly and consistently roll out pre-configured Oracle JRE updates to Windows systems via automation tools. It is available to Java SE Subscription, and Java SE Desktop Subscription subscribers, and is a commercial feature entitlement for legacy Java SE Advanced and Java SE Advanced Desktop customers. The alternative to the Java MSI Installer is to use the public “exe” installer, which is designed for manual installation on one machine at a time.
What does the MSI Installer provide?
MSI stands for “Microsoft System Installer”, and has a consistent format to manage information normally entered manually, and allows the customization of installations through the use of transforms. System Administrators can then mass-install (or uninstall) these MSIs through desktop management systems like Microsoft SCCM.
The Java MSI Installer documentation appears at https://docs.oracle.com/javacomponents/msi-jre8/install-guide/ and provides information including a list of supported configurations. The Java MSI Installer is available to Java SE Advanced and Java SE Advanced Desktop licensees through My Oracle Support (MOS).
Please note that a Java SE Support entitlement alone does not permit use of the Java MSI installer. A Java SE Subscription, Java SE Desktop Subscription, legacy Java SE Advanced or Java SE Advanced Desktop license is required for each desktop, and server the Java MSI installer will target.
WLS Enterprise customers are provided a Java SE Advanced entitlement, and may use the MSI to install on the systems where WLS runs, they cannot however deploy the MSI across unrelated systems without a separate Java SE Subscription, Java SE Desktop Subscription, Java SE Advanced or Java SE Advanced Desktop license.
The Java MSI installer is only available through MOS for licensees of Java SE Subscription, Java SE Desktop Subscription, Java SE Advanced and Java SE Advanced Desktop. There are Java MSI installers for JRE 7 update 95 and later, and JRE 8 update 20 and later. There is no MSI installer for JRE 6.
What is the key value proposition of the Java MSI Installer?
Oracle releases Java updates a minimum of four times per year following the Critical Patch Schedule, and also releases additional feature and ER updates throughout the year.
The Java MSI Installer saves the system administrator time as they can re-use configurations and deploy a new Java update quickly, and in line with the critical patch schedule. Without the Java MSI Installer, administrators must manually build, manage, and test their own packages several times per year, through unsupported means. Unless the administrator is proficient with creating MSI installers this will take time and any mistakes coud result in costly delays, and risk with enterprise-wide Java deployments.
Can’t I just build my own MSI, or extract the data I need from the gratis JRE?
The public executable “exe” installers available from Java.com, OTN or MOS are intended for individual users who will manage their own installation. Some organizations may choose to manually build their own MSI package from scratch for internal use. These MSIs or and bundle derived from extracting the contents of the executable installers are not supported. Using executable installers in desktop management systems like Microsoft SCCM is not supported.
Some users may try to extract and modify the temporary MSI contained within the executable installer; this MSI is very different from the Java MSI Installer made available to Java SE Advanced and Java SE Advanced Desktop customers, and is not intended for enterprise use.
The Java MSI Installer available to Java SE Advanced and Java SE Advanced Desktop licensees is fully compliant with MS ICE standards and is designed to be run standalone, making it possible to deploy silently over frameworks such as SCCM and Active Directory. All MSI 'Modes' are supported: Install, Remove, Rollback and Repair along with Installer options and configuration of commercial features (e.g. UsageTracker).
The temporary MSI contained within the executable installer is not intended to be run standalone and its use in this way may cause issues. This is especially true as it relates to “FilesInUse”, and product registration when run silently, or over deployment frameworks. There is also no 'Repair' mode available, and it is not possible to configure some commercial features; moreover, the internal MSI format is designed for the executable and subject to change or removal at any time. Compatibility between systems may be problematic and any organization taking the time and effort to use this approach will need to carefully re-test their installation and uninstallation processes with every single update. Any issues encountered in this situation will not be covered by Support.
Java 8 Compatibility Patch
If I have Java SE Advanced, how do I configure the Commercial MSI for my environment?
Java 8 Msi Download
Java 8 Msi Command Line Switches
The Advanced Management Console provides a feature called Java Install Customizer, which allows users to create a new customization, or to simply bring forward their previous configuration. Various other MSI customization tools are available from third parties.