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

Installing JRE 1.4 makes impossible to run JRE 1.3.1 applets

    XMLWordPrintable

Details

    • beta3
    • x86
    • windows_2000

    Description



      Name: yyT116575 Date: 07/17/2001


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

      After installing JRE 1.4.0 beta, existing JRE 1.3.1 installation is broken.
      Pages that refer to plugin 1.3.1:
      1) in Internet Explore 5.0 - display download progress bar forever, applet is
      never started, console shows that plugin 1.4.0 is started instead of 1.3.1
      2) in Netscape4.0.8 browser attempts to download and install JRE1.3.1 again.

        To reproduce problem.
      1. Uninstall all JREs from the system
      2. Install JRE 1.3.1
      3. Open page that refers to Plugin 1.3.1 applet (set test1.3.1.html listing) -
      it works properly
      4. Install JRE1.4.0 beta
      5. Open page that refers to Plugin 1.4 applet (set test1.4.html listing) - it
      works properly
      6. Then try to open previous page test1.3.1.html - it does not work. IE looks
      broken.


      This behaviors make transition to newest versions of java impossible. It is not
      possible to gradually update applets. In fact it makes Java plug-in technology
      (which is great itself) useless.

      In real world users have to access many applets in different sites, if they
      unintentionally encounter page with JRE1.4 on the web and install plug-in, they
      will not be able to run older 1.3.1 applets which may be far more important for
      them.

      --file test1.3.1.htm
      <HTML>
      <HEAD>
      <TITLE>
      HTML Test Page
      </TITLE>
      </HEAD>
      <BODY>
      <!--"CONVERTED_APPLET"-->
      <!-- HTML CONVERTER -->
      <OBJECT classid="clsid:CAFEEFAC-0013-0001-0000-ABCDEFFEDCBA"
      WIDTH = 400 HEIGHT = 300 ALIGN = top
      codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-
      win32.cab#Version=1,3,1,0">
      <PARAM NAME = CODE VALUE = "HelloWorld" >
      <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.1">
      <PARAM NAME="scriptable" VALUE="false">
      <COMMENT>
      <EMBED type="application/x-java-applet;jpi-version=1.3.1"
      CODE = "HelloWorld"
      WIDTH = 400 HEIGHT = 300 ALIGN = top
      scriptable=false
      pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"><
      NOEMBED></NOEMBED></EMBED></COMMENT></OBJECT>
      <!--<APPLET CODE = "HelloWorld" ARCHIVE = "hello.jar" WIDTH = 400 HEIGHT = 300
      ALIGN = top>
      </APPLET>-->
      <!--"END_CONVERTED_APPLET"-->
      </BODY>
      </HTML>

      --file test1.4htm
      <HTML>
      <HEAD>
      <TITLE>
      HTML Test Page
      </TITLE>
      </HEAD>
      <BODY>
      <!--"CONVERTED_APPLET"-->
      <!-- HTML CONVERTER -->
      <OBJECT classid="clsid:CAFEEFAC-0014-0000-0000-ABCDEFFEDCBA"
      WIDTH = 400 HEIGHT = 300 ALIGN = top
      codebase="http://java.sun.com/products/plugin/1.4/jinstall-140-
      win32.cab#Version=1,4,0,0">
      <PARAM NAME = CODE VALUE = "HelloWorld" >
      <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.4">
      <PARAM NAME="scriptable" VALUE="false">
      <COMMENT>
      <EMBED type="application/x-java-applet;jpi-version=1.4"
      CODE = "HelloWorld" WIDTH = 400 HEIGHT = 300 ALIGN = top
      scriptable=false
      pluginspage="http://java.sun.com/products/plugin/1.4/plugin-install.html">
      <NOEMBED></NOEMBED></EMBED></COMMENT></OBJECT>
      <!--<APPLET CODE = "HelloWorld" ARCHIVE = "hello.jar" WIDTH = 400 HEIGHT = 300
      ALIGN = top>
      </APPLET>-->
      <!--"END_CONVERTED_APPLET"-->

      </BODY>
      </HTML>


      --Example HelloWorld.java applet listing:
      import java.awt.*;
      import java.applet.*;
      public class HelloWorld extends Applet {
        boolean isStandalone = false;
        Label label1 = new Label();
        BorderLayout borderLayout1 = new BorderLayout();

        /** Construct the applet */
        public HelloWorld() {
        }

        /** Initialize the applet */
        public void init() {
          label1.setAlignment(1);
          label1.setText("Hello World, version 1.1.1.1");
          this.setLayout(borderLayout1);
          this.add(label1, BorderLayout.CENTER);
        }

        /** Start the applet */
        public void start() {}

        /** Stop the applet */
        public void stop() {}

        /** Destroy the applet */
        public void destroy(){}
      }
      (Review ID: 128194)
      ======================================================================

      Attachments

        Activity

          People

            billyh William Harnois
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: