Java SE Runtime Environment Update Scenarios
Java SE Runtime Environment (JRE) may be installed in patch-in-place or static modes. This document describes various scenarios to demonstrate the behavior of the JRE update process. See Patch-in-Place and Static JRE Installation for more information about these modes.
The following topics are covered:
Note: Software versions, such as Java SE 7 Update 17, are represented by an abbreviation in the form of 7u17.
This is the most likely scenario.
- The user installs JRE 7u17 as a patch-in-place JRE by default into the directory
C:\Program Files\Java\jre7
.
- The user gets prompted by Java Update to update to JRE 7u18.
- The user agrees and goes through the Java Update process.
- Java Update recognizes that the JRE 7u17 was installed as a patch-in-place JRE, and can therefore just patch-in-place to 7u18.
- Now only one 7u18 patch-in-place JRE is located in the directory
C:\Program Files\Java\jre7
. JRE 7u17 no longer exists in the computer.
- The user installs a static JRE 7u17 into the directory
C:\Program Files\Java\jre1.7.0_17
.
- The user gets prompted by Java Update to update to JRE 7u18.
- The user agrees and goes through the Java Update process.
- Java update ignores the previous static installation of JRE 7u17, and downloads a full copy of patch-in-place JRE 7u18, which is installed into
C:\Program Files\Java\jre7
.
- After the installation is finished, the user now has both a static JRE 7u17 in
C:\Program Files\Java\jre1.7.0_17
, and a patch-in-place JRE 7u18 in C:\Program Files\Java\jre7
.
- The user installs a patch-in-place JRE 7u17 into the directory
C:\Program Files\Java\jre7
.
- The user then installs a static JRE 7u18.
- The JRE 7u18 static installer ignores the existence of the patch-in-place JRE 7u17, and downloads a full copy of JRE 7u18, which is installed into
C:\Program Files\Java\jre1.7.0_18
.
- After the installation is finished, the user now has a patch-in-place JRE 7u17 in
C:\Program Files\Java\jre7
, and a static JRE 7u18 in C:\Program Files\Java\jre1.7.0_18
.
- The user installs patch-in-place JRE 7u18 in
C:\Program Files\Java\jre7
.
- The user runs the JRE 7u17
iftw.exe
installer in the default patch-in-place mode (iftw
stands for install from the web).
- The JRE 7u17 installer detects that a later patch-in-place JRE that is present and switches to static mode.
- The user now has both a patch-in-place JRE 7u18 in
C:\Program Files\Java\jre7
, and a static JRE 7u17 in C:\Program Files\Java\jre1.7.0_17
.
- The user runs the 7u17
iftw.exe
installer in the default patch-in-place mode.
- 7u17 installer detects that 7u17 is already installed as static JRE and switches to static mode. In static mode, the installer prompts the user to reinstall. If the user selects yes, the static JRE 7u17 is uninstalled and reinstalled.
- After the installation is finished, the user now has both a patch-in-place copy of 7u18 in
C:\Program Files\Java\jre7
, and a copy of 7u17 JRE in C:\Program Files\Java\jre1.7.0_17
.
- The user installs the patch-in-place JRE 7u17.
- The user runs the static JRE 7u17 installer.
- The Installer will uninstall the patch-in-place JRE 7u17 and install a static JRE 7u17. An entire download of the JRE 7u17 will take place.
- The user will be left with 7u17 static JRE at
C:\Program Files\Java\jre1.7.0_17
.
- The user installs the static JRE 7u18.
- The user downloads and runs the patch-in-place JRE 7u18 installer.
- The installer will launch the static JRE 7u18 Microsoft Windows Installer (MSI) and the user will be prompted if he or she wants to reinstall.
- The user agrees to reinstall.
- The user will be left with a static JRE 7u18.
- The user installs static JRE 7u18 into
C:\Program Files\Java\jre1.7.0_18
- The user runs the JRE 7u17
iftw.exe
installer in the default patch-in-place mode.
- After the installation is finished, the user now has both a static JRE 7u18 in
C:\Program Files\Java\jre1.7.0_18
, and a patch-in-place JRE 7u17.
- The user installs the patch-in-place JRE 7u16 (using the Windows Online or Offline Installer).
- The user installs the patch-in-place JRE 7u17 using the Windows Online Installer.
- The JRE 7u16 is patched in place to JRE 7u17.
- The user installs the patch-in-place JRE 7u18 using the Windows Online Installer.
- The JRE 7u17 is patched in place to the JRE 7u18.
- The user installs patch-in-place JRE 7u15 (using the Windows Online or Offline Installer).
- The user installs patch-in-place JRE 7u17 using the Windows Online Installer.
- The JRE 7u15 is patched in place to the JRE 7u17.
- The user installs the patch-in-place JRE 7u18 using the Windows Online Installer.
- The JRE 7u17 is patched in place to the JRE 7u18.
- The user installs the patch-in-place JRE 7u17 (using the Windows Online or Offline installer).
- The user downloads the JRE 7u18 Windows Offline Installer.
- The user runs the JRE 7u18 Offline Installer in the default patch-in-place mode.
- The JRE 7u17 is uninstalled and the patch-in-place JRE 7u18 is installed.
- The user will be left with a patch-in-place JRE 7u18.
- The user installs patch-in-place JRE 7u17 (using online or offline installer).
- The user installs static JRE 7u18 (using online or offline installer).
- The user launches patch-in-place JRE 7u18 installer (online or offline).
- The 7u18 installer detects that static JRE 7u18 already exists and switches to static mode. In static mode, the install prompts to reinstall. If the user selects yes, static JRE 7u18 is uninstalled and reinstalled.
- After the installation is finished, the user now has both a patch-in-place copy of patch-in-place JRE 7u17 in
C:\Program Files\Java\jre7
, and a copy of static JRE 7u18 in C:\Program Files\Java\jre1.7.0_18
.
- The user installs the patch-in-place JRE 7u18 (using the Windows Online or Offline Installer).
- The user installs the patch-in-place JRE 7u17 in default mode (using the Windows Online or Offline Installer). The static JRE 7u17 is installed. The user now has the static JRE 7u17 and the patch-in-place JRE 7u18.
- The user uninstalls the patch-in-place JRE 7u18. The user now has the static JRE 7u17.
- The user installs the patch-in-place JRE 7u16 (using the Windows Online or Offline Installer). The user now has the patch-in-place JRE 7u16 and the static JRE 7u17.
- The user installs the patch-in-place JRE 7u17 (using the Windows Online or Offline Installer).
- The JRE 7u17 installer detects that the static JRE 7u17 is already installed. The installer switches to static mode. In static mode, the installer prompts the user to reinstall. If the user selects yes, the static JRE 7u17 is uninstalled and reinstalled.
- After the installation is finished, there are a patch-in-place JRE 7u16 in the directory
C:\Program Files\Java\jre7
, and a static JRE 7u17 in the directory C:\Program Files\Java\jre1.7.0_17
.