JDK-6215947 : JDK 1.5.0_01 Win2k installers always installs demos and samples
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-01-11
  • Updated: 2010-04-02
  • Resolved: 2005-06-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195]

EXTRA RELEVANT SYSTEM CONFIGURATION :
this problem also occurs using the Online installer.

A DESCRIPTION OF THE PROBLEM :
Both the Windows Online and Offline installers for JDK 1.5.0_01 ignore when I deselect the "Demos" and "Public JRE" components for installation, and it always installs the "Demos" component.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Start Offline installer.
2. Changed default install dir, for example to "c:\devtools\jdk1.5.0_01" (this dir does not exist).
3. Deselect the "Demos" and "Public JRE" components.
4. Proceed with installation. When installation finishes, I'm told I need to restart windows (interesting, given I didn't install the public jre...) AND the c:\devtools\jdk1.5.0_01 dir contains a "demo" and "sample" dir filled with stuff.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The install dir should not contain any components that were excluded in the install configuration screens.


ACTUAL -
The install directory contains a "demo" and "samples" dir filled with stuff.

At least the installer didn' t appear to install the Public JRE.


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
None that I know of.
###@###.### 2005-1-11 02:10:02 GMT

Comments
EVALUATION I doubt that it installed the public jre. The jdk installer may ask for a reboot if the machine itself needs a reboot. This could be as a result of a previous non-java product install, or if the Windows Installer 2.0 installation needs a reboot. The samples are part of the jdk core, so they always get installed. We will address this in 6.0 with bug: 5074185 Our current patcher is not smart enough to know which features got installed. So if a new file get's created in an update release, our patcher will contain a full copy of that new file. If the file doesn't exist, the patcher will create it. This will happen regardless of whether the demos feature is selected for install. There is no easy solution for this, so it will not be addressed in 5.0. 2 ways of fixing it are: 1. remove the demos directory after it is created, if it wasn't selected for install 2. create multiple patchers for each feature We may address this in a future release. ###@###.### 2005-1-11 21:00:26 GMT This will be fixed with the use of an rtpatch flag. It is a duplicate. ###@###.### 2005-06-20 16:34:45 GMT
11-01-2005