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

Impossible to switch between plug-ins from different jdks

XMLWordPrintable

    • x86
    • windows_98, windows_nt


      ingrid.yao@Eng 2001-08-08

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

      Does this problem occur on J2SE 1.3? Yes / No (pick one)
        No

      Operating System Configuration Information (be specific):
        Windows98/WinNT

      Hardware Configuration Information (be specific):
        Pentium, 750MH, 256MB

      Bug Description:

        * Install 1.3.1 first and install 1.4, it always bring up 1.4 plugin.
          If you uninstall 1.4, then browser can not enable plug-in from 1.3.1
          any more. shouldn't it get 1.3 plugin instead?

        * After uninstall JRE 1.4, the Plugin Control Panel icon
          still show on Windows Control Panel. If you click it,
          error message print out -

          "The system cannot find the registry key specified
           HKEY_LOCAL_HACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.0"
        

         * Be able to enable jdk1.3 by explicit regsvr32 beans.ocx. But
            it does not work for jdk1.4 (on running of an applet, the plug-in
            seems to try to load applet-rectangle, though without background,
            and applet does not appear on the end).

            Try the following steps several times:

            1. Run DOS:
               c:\Windows\System\regsvr32 -u .\jre\bin\beans.ocx

               for all jdks including those under c:\Program Files

            2. Reboot computer

            3. Reinstall jdk1.4, jdk1.3.1 or jdk1.3 from scratch

            4. Since above steps did not work for plug-in applets,
               played with all possible options of plug-ins in Control Panel,
               like selection particular VM, cashing, enable console, etc.

            5. Since above steps also did not work, tried to run DOS:
               c:\Windows\System\regsvr32 .\jre\bin\beans.ocx

               Results are following: the only 1.3 plug-in can be used
               only after all 5 steps.

      Name: gm110360 Date: 02/19/2002


      FULL PRODUCT VERSION :
      java version "1.2.2"
      Classic VM (build JDK-1.2.2_011, native threads, symcjit)

      FULL OPERATING SYSTEM VERSION :
      Windows NT Server SP4.0

      ADDITIONAL OPERATING SYSTEMS :
      None


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Clean system, has JRE 1.3.1 and JRE 1.2.2 installed on it.

      A DESCRIPTION OF THE PROBLEM :
      If I install JRE 1.3.1 on a system and then go ahead and
      install JRE 1.2.2 also on it, then JRE 1.2.2 becomes my
      default JRE. Basically, the last installed JRE on a system
      becomes the default JRE.

      Now, if I want to use JRE 1.3.1, then I go to the "Java
      Plug-in Control Panel" window and change the JRE selection
      there. It doesn't work !

      Can anyone tell me a solution to switch from one JRE to
      another on a system with multiple versions of the JRE? I'll
      really appreciate if someone can give me some kind of a
      solution or insight into this problem. I have time
      constrint in this matter so a quick response will be highly
      appreciated.

      Thanks in advance.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. On a clean system (i.e a system with no JRE
      installations)
      2. Install JRE 1.3.1
      3. Install JRE 1.2.2_005 (or any of the JRE 1.2.2_XXX
      versions)
      4. Check java -version from command line.
      5. It will display version for only the last installed JRE.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      No matter how many different versions of JRE I have
      installed on my system, I should be able to switch between,
      JRE's as required.

      I tried to change JRE versions for use from the "Java Plug-
      in Control Panel" screen for JRE 1.3.1 to "Other" and the
      path was given for JRE 1.2.2 home. It should, switch your
      JRE in use to JRe 1.2.2. (which in this case doesn't do).

      If you know of any other way or any way, even if it has a
      couple of steps involved in it, to switch JRE's. Please do
      let me know.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No error message is displayed in this case since here I am only trying to
      switch the JRE in use.

      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Just used:
      JRE 1.3.1 & JRE 1.2.2_011
      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      None that I know of, that is why I am asking this from you.
      (Review ID: 139896)
      ======================================================================

            billyh William Harnois
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: