This page describes various scenarios that demonstrate the behavior of the JRE update process.
The page contains these topics:
"Installing static JRE when earlier patch-in-place JRE is present"
"Installing static JRE when same JRE version of patch-in-place JRE is present"
"Attempting to install patch-in-place JRE when same JRE version of static JRE is present"
"Installing earlier patch-in-place JRE when later static JRE is already present"
"Installing earlier patch-in-place JRE when later static JRE is already present"
"Installing later patch-in-place version using Windows Offline Installer"
"Reinstalling static JRE when earlier patch-in-place JRE installed"
"Reinstalling static JRE without explicitly installing as static"
Java SE Runtime Environment (JRE) can be installed in patch-in-place or static modes. See "Patch-in-Place and Static JRE Installation" for more information about these modes.
Note: Software versions, such as Java SE 8 Update 18, are represented in this page by an abbreviation analogous to 8u18. |
This is the most likely scenario.
The user installs JRE 8u18 as a patch-in-place JRE by default into the directory C:\Program Files\Java\jre8
.
The user gets prompted by Java Update to update to JRE 8u18.
The user agrees and goes through the Java Update process.
Java Update recognizes that the JRE 8u17 was installed as a patch-in-place JRE, and can therefore just patch-in-place to 8u18.
Now only the 8u18 patch-in-place JRE resides in C:\Program Files\Java\jre8
. JRE 8u17 no longer exists in the computer.
The user installs a static JRE 8u17 into the directory C:\Program Files\Java\jre1.8.0_17
.
The user gets prompted by Java Update to update to JRE 8u18.
The user agrees and goes through the Java Update process.
Java update ignores the previous static installation of JRE 8u17, and downloads a full copy of patch8in-place JRE 8u18, which is installed into C:\Program Files\Java\jre8
.
After the installation is finished, the user now has both a static JRE 8u17 in C:\Program Files\Java\jre1.8.0_17
, and a patch-in-place JRE 8u18 in C:\Program Files\Java\jre8
.
The user installs a patch-in-place JRE 8u17 into the directory C:\Program Files\Java\jre8
.
The user then installs a static JRE 8u18.
The JRE 8u18 static installer ignores the existence of the patch-in-place JRE 8u17, and downloads a full copy of JRE 8u18, which is installed into C:\Program Files\Java\jre1.8.0_18
.
After the installation is finished, the user now has a patch-in-place JRE 8u17 in C:\Program Files\Java\jre8
, and a static JRE 8u18 in C:\Program Files\Java\jre1.8.0_18
.
The user installs patch-in-place JRE 8u18 in C:\Program Files\Java\jre8
.
The user runs the JRE 8u17 iftw.exe
installer in the default patch-in-place mode (iftw
stands for install from the web).
The JRE 8u17 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 8u18 in C:\Program Files\Java\jre8
, and a static JRE 8u17 in C:\Program Files\Java\jre1.8.0_17
.
The user runs the 8u17 iftw.exe
installer in the default patch-in-place mode.
8u17 installer detects that 8u17 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 8u17 is uninstalled and reinstalled.
After the installation is finished, the user now has both a patch-in-place copy of 8u18 in C:\Program Files\Java\jre8
, and a copy of 8u17 JRE in C:\Program Files\Java\jre1.8.0_17
.
The user installs the patch-in-place JRE 8u17.
The user runs the static JRE 8u17 installer.
The Installer will uninstall the patch-in-place JRE 8u17 and install a static JRE 8u17. An entire download of the JRE 8u17 will take place.
The user will be left with 8u17 static JRE at C:\Program Files\Java\jre1.8.0_17
.
The user installs the static JRE 8u18.
The user downloads and runs the patch-in-place JRE 8u18 installer.
The installer will launch the static JRE 8u18 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 8u18.
The user installs static JRE 8u18 into C:\Program Files\Java\jre1.8.0_18
The user runs the JRE 8u17 iftw.exe
installer in the default patch-in-place mode.
After the installation is finished, the user now has both a static JRE 8u18 in C:\Program Files\Java\jre1.8.0_18
, and a patch-in-place JRE 8u17.
The user installs static JRE 8u18 into C:\Program Files\Java\jre1.8.0_18
The user runs the JRE 8u17 iftw.exe
installer in the default patch-in-place mode.
After the installation is finished, the user now has both a static JRE 8u18 in C:\Program Files\Java\jre1.8.0_18
, and a patch-in-place JRE 8u17.
The user installs the patch-in-place JRE 8u16 (using the Windows Online or Offline Installer).
The user installs the patch-in-place JRE 8u17 using the Windows Online Installer.
The JRE 8u16 is patched in place to JRE 8u17.
The user installs the patch-in-place JRE 8u18 using the Windows Online Installer.
The JRE 8u17 is patched in place to the JRE 8u18.
The user installs patch-in-place JRE 8u15 (using the Windows Online or Offline Installer).
The user installs patch-in-place JRE 8u17 using the Windows Online Installer.
The JRE 8u15 is patched in place to the JRE 8u17.
The user installs the patch-in-place JRE 8u18 using the Windows Online Installer.
The JRE 8u17 is patched in place to the JRE 8u18.
The user installs the patch-in-place JRE 8u17 (using the Windows Online or Offline installer).
The user downloads the JRE 8u18 Windows Offline Installer.
The user runs the JRE 8u18 Offline Installer in the default patch-in-place mode.
The JRE 8u17 is uninstalled and the patch-in-place JRE 8u18 is installed.
The user will be left with a patch-in-place JRE 8u18.
The user installs patch-in-place JRE 8u17 (using online or offline installer).
The user installs static JRE 8u18 (using online or offline installer).
The user launches patch-in-place JRE 8u18 installer (online or offline).
The 8u18 installer detects that static JRE 8u18 already exists and switches to static mode. In static mode, the install prompts to reinstall. If the user selects yes, static JRE 8u18 is uninstalled and reinstalled.
After the installation is finished, the user now has both a patch-in-place copy of patch-in-place JRE 8u17 in C:\Program Files\Java\jre8
, and a copy of static JRE 8u18 in C:\Program Files\Java\jre1.8.0_18
.
The user installs the patch-in-place JRE 8u18 (using the Windows Online or Offline Installer).
The user installs the patch-in-place JRE 8u17 in default mode (using the Windows Online or Offline Installer). The static JRE 8u17 is installed. The user now has the static JRE 8u17 and the patch-in-place JRE 8u18.
The user uninstalls the patch-in-place JRE 8u18. The user now has the static JRE 8u17.
The user installs the patch-in-place JRE 8u16 (using the Windows Online or Offline Installer). The user now has the patch-in-place JRE 8u16 and the static JRE 8u17.
The user installs the patch-in-place JRE 8u17 (using the Windows Online or Offline Installer).
The JRE 8u17 installer detects that the static JRE 8u17 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 8u17 is uninstalled and reinstalled.
After the installation is finished, there are a patch-in-place JRE 8u16 in the directory C:\Program Files\Java\jre8
, and a static JRE 8u17 in the directory C:\Program Files\Java\jre1.8.0_17
.