Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6313855

Automatic update hardcoded to check space on C:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 8-pool
    • 5.0
    • install
    • x86
    • windows_2000

      FULL PRODUCT VERSION :
      java version "1.5.0_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

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

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      My system disk has partitions for Windows 98, Windows 2000 and Linux. In order to get this working (due to limitations in Windows design) I am forced to have a "boot" partition (named C) which is just about 7 megabytes. When Windows 2000 boots via this small partition. This results in that Windows 2000 resides on the F drive (due to CD-ROMs etc). Of course Java is also installed on the F drive.

      A DESCRIPTION OF THE PROBLEM :
      I have turned on automatic checks for updates of the Java Runtime. However this nice feature fails miserably when it comes to installing. What I get is error dialogs saying that there is not enough room to install Java, but on the F drive there is about 5 gigabytes free space.

      I opened the "jre-1_5_0_04-windows-i586-p-iftw_c07126c3.exe" (which was automatically downloaded for me) in Emacs, located three suspicious "C:" strings at nearly the same place and changed the "C"s to "F"s, held both thumbs and tried running the patch again. Voila! It worked as it should and the installer ran as it should. The irony of this is that the installer asks me where to install Java even though the packaging is hard wired to first check the space left on C: before continuing...

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Install Windows on another drive than C: where C: has a very limited amount of space left. Then try running the automatic updater...

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A flawless update of the Java Runtime! :)
      ACTUAL -
      A filed update attempt whith cryptic error dialogs. Had to hand patch the automatically downloaded patch in order to get it running...

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Error dialog:
      "This Java(TM) Platform will not work on this system for the following reasons:

      * This machine does not have enough disk space to install this product.

      Please resolve these issues before reinstalling this product."

      This dialog is not that informative. For instance which partition does it try to install the product on?

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      I have to patch each and every autoamtically downloaded patch by hand...

            jqzuo Jennifer Zuo (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: