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

Uninstallation of 5.0 does not restore system to a state where webstart 1.0 works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 6
    • 5.0u2
    • install
    • x86
    • windows_2000

      J2SE Version (please include all output from java -version flag):

        java version "1.3.0"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
        Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

        java version "1.5.0_02"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
        Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

      Does this problem occur on J2SE 1.3, 1.4.x or 1.5? Yes / No (pick one)
        1.3 N/A
        1.4 Have not tested
        1.5 Yes

      Operating System Configuration Information (be specific):
        Windows 98 SE, Windows 2000 Server, possibly others

      Bug Description:
        Uninstallation of 5.0 does not restore system to a state where webstart
        1.0 works

      Steps to Reproduce (be specific):
        Install webstart 1.0
        Install J2SE 5.0
        Uninstall J2SE 5.0
      ----
      Internet Explorer and Firefox will not detect webstart's presence after the
      uninstall.
       Clicking on a JNLP link will cause an "Open With" dialog, where javaws can be chosen, but webpages designed to detect webstarts presence
      will not function correctly.

      Interestingly, if webstart is chosen in that "Open With" dialog (Windows 2000
      Server), it will never change. Once webstart has been associated manually
      from the list, an install of 5.0 will NOT activate webstart 5.0. All JNLP
      link still end up referring to webstart 1.0. Uninstall and reinstall (all
      java and webstart versions) all you want, it will never re-associate the JNLP
      extension with anything other than the webstart you chose in the list. IE and
      Firefox are both using the Window's default, so it is not the browser that is
      having the issue.

      To fix this problem, it is necessary to do the association manually again in
      the advanced options of Firefox. I assume, though, that other installs in
      the future will need tweaking before they will work as well.



      Detection code in the HTML page is as follows:
      <SCRIPT LANGUAGE="Javascript">
      var javawsInstalled = 0;
        isIE = "false";

        if (navigator.mimeTypes && navigator.mimeTypes.length) {
      x = navigator.mimeTypes['application/x-java-jnlp-file'];
      if (x) javawsInstalled = 1;
      } else {
      isIE = "true";
        }

        function jumpToPage(url1, url2) {
      if (javawsInstalled) {
      document.location.replace(url1);
      } else {
      document.location.replace(url2);
        }
      }
      </SCRIPT>

      <SCRIPT LANGUAGE="VBScript">
      on error resume next
      If isIE = "true" Then
      If Not(IsObject(CreateObject("JavaWebStart.IsInstalled"))) Then
      javawsInstalled = 0
      Else
      javawsInstalled = 1
      End If
      End If
      </SCRIPT>















      ###@###.### 2005-04-08 15:36:17 GMT

            jchusunw Jacky Chu (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: