Java

JavaTM Runtime Environment Update Scenarios
for JavaSE 6u10

Documentation Contents

Java Runtime Environment Installation > Java Runtime Environment Update Scenarios

Contents

Introduction

Java Runtime Environment (JRE) may be installed in family or static modes. This document describes various scenarios to demonstrate the behavior of the JRE update process.

Java Runtime Environment Update Scenarios

Updating Family JRE

This is the most likely scenario.

  1. User installs JRE 6u10 as a "Family JRE" by default into c:/Program Files/Java/jre6
  2. User gets prompted by Java-Update to update to 6u11.
  3. User agrees, goes through Java-Update process.
  4. Java update recognizes that the 6u10 JRE was installed as a "Family JRE", and can therefore just simply patch-in-place to 6u11.
  5. Once finished, the user now has only one 6u11 "Family/Update JRE" located at c:/Program Files/Java/jre6. 6u10 no longer exists on the machine.

Installing "Family JRE" when a "Static JRE" is already present

  1. User installs 6u10 "Static JRE" into c:/Program Files/Java/jre1.6.0_10
  2. User gets prompted by Java-Update to update to 6u11.
  3. User agrees, goes through Java-Update process.
  4. Java update ignores the previous static installation of 6u10, and downloads a full copy of 6u11 "Family JRE" which is installed into c:/Program Files/Java/jre6.
  5. Once finished, the user now has both a 6u10 "Static JRE" at c:/Program Files/Java/jre1.6.0_10, and a 6u11 "Family JRE" at c:/Program Files/Java/jre6.

Installing "Static JRE" when older "Family JRE" is already present

  1. User installs 6u10 "Family JRE".
  2. It installs into c:/Program Files/Java/jre6.
  3. User then installs 6u11 "Static JRE".
  4. 6u11 "Static JRE" installer ignores the existence of 6u10 "Family JRE"., and downloads a full copy of 6u11 which is installed into c:/Program Files/Java/jre1.6.0_11.
  5. Once finished, the user now has both a family copy of 6u10 at c:/Program Files/Java/jre6, and a copy of 6u11 JRE c:/Program Files/Java/jre1.6.0_11.

Installing older "Family JRE" when newer "Family JRE" is already present, then reinstalling older "Family JRE"

  1. User installs 6u11 "Family JRE" into c:/Program Files/Java/jre6.
  2. User launches 6u11 iftw.exe installer in the default "family mode"(iftw stands for install from the web).
  3. 6u11 installer detects newer "Family JRE" is already present and switches to "static mode".
  4. The user now has both a family copy of 6u11 at c:/Program Files/Java/jre6, and a copy of 6u10 JRE c:/Program Files/Java/jre1.6.0_10.
  5. User launches 6u10 iftw.exe installer in the default "family mode".
  6. 6u10 installer detects that 6u10 is already installed as "Static JRE" and switches to "static mode". In "static mode" the installer prompts to reinstall. If the user selects yes, 6u10 "Static JRE" is uninstalled and reinstalled.
  7. When finished, the user now has both a family copy of 6u11 at c:/Program Files/Java/jre6, and a copy of 6u10 JRE c:/Program Files/Java/jre1.6.0_10.

Installing "Static JRE" when same JRE version of "Family JRE" is already present

  1. User installs 6u10 "Family JRE".
  2. User launches 6u10 "Static JRE" installer.
  3. Installer will uninstall 6u10 "Update JRE" and install a 6u10"Static JRE". An entire download of the JRE 6u10 will take place.
  4. User will be left with 6u10 "Static JRE" at c:/Program Files/Java/jre1.6.0_10.

Attempting to install "Family JRE" when same JRE version of "Static JRE" is already present

  1. User installs 6u10 "Static JRE".
  2. User downloads/launches 6u10 "Family JRE" installer.
  3. The installer will launch the 6u10 "Static JRE" MSI and the user will be prompted if they want to reinstall.
  4. User agrees to reinstall.
  5. User will be left with a 6u10 "Static JRE"..

Installing new 6u4 "Family JRE" when old architecture JRE 6u2 is already present

  1. User installs 6u2 JRE, which does not have new patching architecture, nor does it have Static/Update installer mode.
  2. User downloads/launches 6u4 "Family JRE" installer, which has Static/Update installer ability.
  3. 6u4 ignores the already installed 6u2 JRE, downloads a full copy of 6u4 "Family JRE" and installs into c:/Program Files/Java/jre6

Installing older "Family JRE" when newer "Static JRE" is already present

  1. User installs 6u11 "Static JRE" into c:/Program Files/Java/jre1.6.0_11
  2. User launches 6u10 iftw.exe installer in the default "family mode".
  3. Once finished, the user now has both a static copy of 6u11 at c:/Program Files/Java/jre1.6.0_11, and a 6u10 "Family JRE".

Applying consecutive patches

  1. User installs 6u10 "Family JRE" (using online, kernel, or offline installer).
  2. User installs 6u11 "Family JRE" using online installer.
  3. 6u10 is patched in place to 6u11.
  4. User installs 6u12 "Family JRE" using online installer.
  5. 6u11 is patched in place to 6u12.

Applying intermediate patches

  1. User installs 6u10 "Family JRE" (using online, kernel, or offline installer).
  2. User installs 6u12 "Family JRE" using online installer.
  3. 6u10 is patched in place to 6u12.
  4. User installs 6u13 "Family JRE" using online installer.
  5. 6u12 is patched in place to 6u13.

Installing later family version using offline installer

  1. User installs 6u10 "Family JRE" (using online, kernel, or offline installer).
  2. User downloads 6u11 offline installer.
  3. User launches 6u11 offline installer in the default "Family JRE" mode.
  4. 6u10 is uninstalled and 6u11 "Family JRE" is installed.
  5. User will be left with a 6u11 "Family JRE".

Reinstalling "Static JRE" when older "Family JRE" installed.

  1. User installs 6u10 "Family JRE" (using online, kernel, or offline installer).
  2. User installs 6u11 "Static JRE" (using online or offline installer).
  3. User launches 6u11 "Family JRE" installer (online or offline).
  4. 6u11 installer detects that 6u11 "Static JRE" already exists and switches to "static mode". In "static mode" the install prompts to reinstall. If the user selects yes, 6u11 "Static JRE" is uninstalled and reinstalled.
  5. When finished, the user now has both a family copy of 6u10 "Family JRE" at c:/Program Files/Java/jre6, and a copy of 6u11 "Static JRE" c:/Program Files/Java/jre1.6.0_11.

Reinstalling "Static JRE" without explicitly ever installing as static.

  1. User installs 6u12 "Family JRE" (using online, kernel, or offline installer).
  2. User installs 6u11 "Family JRE" in default mode (using online or offline installer). 6u11 is installed as "Static JRE". User now has 6u11 "Static JRE" and 6u12 "Family JRE".
  3. User uninstalls 6u12 "Family JRE". User now has 6u11 "Static JRE".
  4. User installs 6u10 "Family JRE" (using online or offline installer). User now has 6u10 "Family JRE" and 6u11 "Static JRE".
  5. User launches 6u11 "Family JRE" (using online or offline installer).
  6. 6u11 detects already installed as "Static JRE" and switches to "static mode". In "static mode" the install prompts to reinstall. If the user selects yes, 6u11 "Static JRE" is uninstalled and reinstalled.
  7. When finished, the user now has both a family copy of 6u10 "Family JRE" at c:/Program Files/Java/jre6, and a copy of 6u11 "Static JRE" c:/Program Files/Java/jre1.6.0_11.


Copyright ©2008 Sun Microsystems, Inc. All Rights Reserved.
Feedback

Sun
Java Technology