JDK-6714188 : JRE/JDK installer required disk space should be calculated at build time
  • Type: Enhancement
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10,6u13
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows,windows_xp
  • CPU: generic,x86
  • Submitted: 2008-06-13
  • Updated: 2018-08-23
  • Resolved: 2018-08-23
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Description
Jre installaer is failig if disk space is around 100 MB. After failing it will start the roll bacp action, which takes around 30 minutes to complete the action.

How to reproduce

1.) Make sure that you have around 100-110 MB of disk space

2.) Launch JRE installer, JRE installer doesn't complain about low disk sapce.

3.) JRE installation is failing with error 26011 (unpacking rt.jar failed).

4.) Once you click on OK, roolback action takes place; which takes 30 minutes to complete the action.

5.) After roll back is completed, JRE installation directory and files still exist. (Atatched are jre install log file)

There are two issues here.
1.) JRE installer should not start if minimum required disk space is not available.
2.) If JRE installaiton is fail, we should clean JRE installation directory and files.

Comments
This calculation should be dynamic, at buildtime.
07-06-2013

EVALUATION See also 6804375, which has very specific free disk MB's as to where our installers fail.
23-02-2009

EVALUATION this can wait till 6u12
12-08-2008

EVALUATION The #'s in the ReserveCost.idt table need to be bumped up for both the JRE and the JDK. See also 6714194
20-06-2008