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

various issues in J2SDK installation result in too much space waste

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • install
    • None
    • x86
    • windows_2000

      This mantis release, espeically JDK, will be a big shock to customer
      (developer). It's using lots of diskspaces due to the new install
      shield and update feature.

      I'm using a Windows 2000 system. The Windows system disk is using FAT32
      file system. Before installation, it has 674M free space, after installing
      JDK (default mode), there is only 362M free. This J2SDK installation
      used almost 312M!

      Here is a summary of the space used after installation, you can see
      there are several issues here:

      - J2SDK1.4.2 dir. Its size is 75.8M, but on FAT32 file system, it is using
        actually 114M space.

        1. Many small files, such as .class and .java files under demo dir. Each
           of them is about size 1K, but on the disk (especially large disk), each
           of them will use 4k (or each 8K, based on default allocation unit).

          Suggestion: Deliver demos in zip file format.

        2. Under demo dir, the structure is like this:
           demo -applets dir
             -jfc dir
             -plugin dir
               -applets dir
               -jfc dir
           Maybe I'm wrong here, but those 'applet' and 'jfc' dirs under plugin
           dir are really exactly *duplicate* of those two under demo dir!

           Suggestion: Revise the bundled stuff here please!

      - Under \Program Files\Common Files\Java\Update\Base Images\ dir, there
        is a J2SDK base image dir, which used 51M space.
        Since update only support J2SE, why do we keep image of JDK here?
        Big waste.

        Suggestion: Remove JDK base image.

      - After installation, under
        \Documents and Settings\Administrator\Local Settings\Application Data
        dir, there are two ${CLSID} subdirs containing two .msi file, one for
        jdk, one for jre.

        I wonder why they can not be removed. During the installation process,
        InstallShield will create above two ${CLSID} folders (and .msi files)
        under %TEMP% dir. And after installation, they are removed by IS.

        Suggestion: I guess JDK IS program is misconfigured to copy those
        two .msi files to 'Local Settings\Application Data' folder.


      If above issues could be resolved, disk usage could save around 130M.
      (Base image: 51M, 2 msi files: 48M, j2sdk demo: 30M).

      Consider other popular products, Star Office 6: 180M, Forte 4J: 88M,
      even microsoft office: 100 - 200M (customized installation).
      Our JDK is really using lots of spaces!


      ###@###.### 2003-03-23

            billyh William Harnois
            nwangsunw Nathan Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: