Documentation Contents
Java Platform, Standard Edition Installation Guide
Contents    Previous    Next

18 Java SE Runtime Environment Update Scenarios

This page describes various scenarios that demonstrate the behavior of the JRE update process.

The page contains these topics:

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.


Updating patch-in-place JRE

This is the most likely scenario.

  1. The user installs JRE 8u18 as a patch-in-place JRE by default into the directory C:\Program Files\Java\jre8.

  2. The user gets prompted by Java Update to update to JRE 8u18.

  3. The user agrees and goes through the Java Update process.

  4. Java Update recognizes that the JRE 8u17 was installed as a patch-in-place JRE, and can therefore just patch-in-place to 8u18.

  5. Now only the 8u18 patch-in-place JRE resides in C:\Program Files\Java\jre8. JRE 8u17 no longer exists in the computer.

Installing patch-in-place JRE when static JRE is present

  1. The user installs a static JRE 8u17 into the directory C:\Program Files\Java\jre1.8.0_17.

  2. The user gets prompted by Java Update to update to JRE 8u18.

  3. The user agrees and goes through the Java Update process.

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

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

Installing static JRE when earlier patch-in-place JRE is present

  1. The user installs a patch-in-place JRE 8u17 into the directory C:\Program Files\Java\jre8.

  2. The user then installs a static JRE 8u18.

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

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

Installing earlier patch-in-place JRE when later patch-in-place JRE is present, then reinstalling earlier patch-in-place JRE

  1. The user installs patch-in-place JRE 8u18 in C:\Program Files\Java\jre8.

  2. The user runs the JRE 8u17 iftw.exe installer in the default patch-in-place mode (iftw stands for install from the web).

  3. The JRE 8u17 installer detects that a later patch-in-place JRE that is present and switches to static mode.

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

  5. The user runs the 8u17 iftw.exe installer in the default patch-in-place mode.

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

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

Installing static JRE when same JRE version of patch-in-place JRE is present

  1. The user installs the patch-in-place JRE 8u17.

  2. The user runs the static JRE 8u17 installer.

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

  4. The user will be left with 8u17 static JRE at C:\Program Files\Java\jre1.8.0_17.

Attempting to install patch-in-place JRE when same JRE version of static JRE is present

  1. The user installs the static JRE 8u18.

  2. The user downloads and runs the patch-in-place JRE 8u18 installer.

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

  4. The user agrees to reinstall.

  5. The user will be left with a static JRE 8u18.

Installing earlier patch-in-place JRE when later static JRE is already present

  1. The user installs static JRE 8u18 into C:\Program Files\Java\jre1.8.0_18

  2. The user runs the JRE 8u17 iftw.exe installer in the default patch-in-place mode.

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

Installing earlier patch-in-place JRE when later static JRE is already present

  1. The user installs static JRE 8u18 into C:\Program Files\Java\jre1.8.0_18

  2. The user runs the JRE 8u17 iftw.exe installer in the default patch-in-place mode.

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

Applying consecutive patches

  1. The user installs the patch-in-place JRE 8u16 (using the Windows Online or Offline Installer).

  2. The user installs the patch-in-place JRE 8u17 using the Windows Online Installer.

  3. The JRE 8u16 is patched in place to JRE 8u17.

  4. The user installs the patch-in-place JRE 8u18 using the Windows Online Installer.

  5. The JRE 8u17 is patched in place to the JRE 8u18.

Applying intermediate patches

  1. The user installs patch-in-place JRE 8u15 (using the Windows Online or Offline Installer).

  2. The user installs patch-in-place JRE 8u17 using the Windows Online Installer.

  3. The JRE 8u15 is patched in place to the JRE 8u17.

  4. The user installs the patch-in-place JRE 8u18 using the Windows Online Installer.

  5. The JRE 8u17 is patched in place to the JRE 8u18.

Installing later patch-in-place version using Windows Offline Installer

  1. The user installs the patch-in-place JRE 8u17 (using the Windows Online or Offline installer).

  2. The user downloads the JRE 8u18 Windows Offline Installer.

  3. The user runs the JRE 8u18 Offline Installer in the default patch-in-place mode.

  4. The JRE 8u17 is uninstalled and the patch-in-place JRE 8u18 is installed.

  5. The user will be left with a patch-in-place JRE 8u18.

Reinstalling static JRE when earlier patch-in-place JRE installed

  1. The user installs patch-in-place JRE 8u17 (using online or offline installer).

  2. The user installs static JRE 8u18 (using online or offline installer).

  3. The user launches patch-in-place JRE 8u18 installer (online or offline).

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

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

Reinstalling static JRE without explicitly installing as static

  1. The user installs the patch-in-place JRE 8u18 (using the Windows Online or Offline Installer).

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

  3. The user uninstalls the patch-in-place JRE 8u18. The user now has the static JRE 8u17.

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

  5. The user installs the patch-in-place JRE 8u17 (using the Windows Online or Offline Installer).

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

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

Contents    Previous    Next

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