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

Problem with jre 1.4.2_08 install/unistall script



    • Subcomponent:
    • Resolved In Build:
    • CPU:
    • OS:
    • Verification:
      Not verified


      We have found what I believe to be a Bug in the JRE Installation package. apparently regardless of whether you pass the command line switch to the install package , when you uninstall the JRE the previous version has it's update utility immediately turned on. This action occurs even when the previous version was installed with the update tab removed (disabled). The result of this is when you install 1.4.2_08 and attempt to uninstall 1.4.2_08 , 1.4.2_01 is immediately reconfigured with update immediately which launches the install pop window at scheduled interval & waits for user propmt. This problem causes problem for silent installation process for large enterprise setup. SBC is one of the customer where they have around 9000 desktops on which they do these activities very often and are suffering lot due to this issue. Also SBC has mix setup where various versions of JRE's are present on there systems hence it's very difficult to predict which jre version it will fall back once you remove 1.4.2_08. Implementing workaround of removing jucheck.exe and jusched.exe
        from java_home/jre/bin/ from fall back jre version is just not practical solution in such a large setup as we don't know which jre version on individual desktop it will fall back. Hence we can't suggest this solution to customer like SBC.. We feel this is serious bug and this need to be corrected in future jre releases.. SBC has grater impact of this issue and they have expressed serious concerns on this behavior.

      To verify this behavior we used foll. steps which cleary demonstrates the problem:

      1. Install jre 1.4.2_06 with given batch file in silent mode. We downloaded required file from java.sun.com which is meant for silent mode installation.

      Create a install.bat file on Windows platform with following single line.
       start /w j2jre-1_4_2_06-windows-i586-p.exe /S "/v/qn ADDLOCAL=ALL IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0"

      2. JRE 1.4.2_06 gets installed and a ICON get created in control panel for java Plug-in.
      When clicked on same I see total 7 tabs which are


      please note there is no update tab here. In advance tab I could see pull down menu shows 1.4.2_06 only.

      3. Installed 1.4.2_08 jre with another "install08.bat file which has following single line in it:
      start /w j2jre-1_4_2_08-windows-i586-p.exe /S "/v/qn ADDLOCAL=ALL IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0"

      4. Again checked with java plug-in tab and see same tabs only addition of 1.4.2_08 jre in the list in advance tab plugin option. But still no update tab even at this stage.

      5. Control panel shows only 1.4.2_06 and 1.4.2_08 as I don't have any other version.

      6. use add/remove program to remove 1.4.2_08

      7. 1.4.2_08 get removed from list in the control panel.

      8. Now when I click on java plugin I see a UPDATE tab has been newly added with update tab checked.
      We don't know rationle behind this. This happens with any jre removal with update tab get resetted in java plugin for fall back jre version eventough it was installed with flag JAVAUPDATE=0.
      Can we fix this issue in upcoming jre releases.


          Issue Links



              pgsunw Praveen G (Inactive)
              duke J. Duke (Inactive)
              0 Vote for this issue
              0 Start watching this issue