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

jre1.4.0: unable to start plugin, Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1 P1
    • None
    • 1.4.0
    • deploy
    • x86
    • windows_98



      Name: asR10013 Date: 08/31/2001


      JDK : JRE 1.4.0 build 78
      Platform[s] : Windows 98/IE5.5, Windows 98/Netscape 4.76
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto

      Java plugin failed to start under IE5.0, Netscape 4.76 with message
      "The Java Runtime Environment cannot be loaded from <\bin\hotspot\jvm.dll>".

      It seems that Java Plugin expects JRE's location which differs from the real path where
      JRE is installed:

      When JRE1.4.0 build 78 installed in the default location (c:\program files\Java\j2re1.4.0-beta3)

      1. Coping/renaming \bin\client\jvm.dll to the \bin\hotspot\jvm.dll does *not* solve the problem.

      2. Here is export of registry key [HKLM\Software\JavSoft\]:
      ----- registry export begin -----
      REGEDIT4
      [HKEY_LOCAL_MACHINE\Software\JavaSoft]
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs]
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in]
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in\1.4.0]
      "JavaHome"="C:\\Program Files\\Java\\j2re1.4.0-beta3"
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start]
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.0.1]
      "Home"="C:\\Program Files\\Java Web Start"
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Development Kit]
      "CurrentVersion"=""
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment]
      "CurrentVersion"=""
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.4]
      "JavaHome"="C:\\Program Files\\Java\\j2re1.4.0-beta3"
      "MicroVersion"="0"
      "RuntimeLib"="C:\\Program Files\\Java\\j2re1.4.0-beta3\\bin\\client\\jvm.dll"
      [HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.4.0 beta3]
      "JavaHome"="C:\\Program Files\\Java\\j2re1.4.0-beta3"
      "MicroVersion"="0"
      "RuntimeLib"="C:\\Program Files\\Java\\j2re1.4.0-beta3\\bin\\client\\jvm.dll"
      ----- registry export end -----

      3. Coping content of C:\program files\Java\j2re1.4.0-beta3 into C:\Program files\JavaSoft\jre\1.4solves the problem.


      How to reproduce:
      ====================
      1. Install JRE 1.4.0 build 78 on the Windows 98 in the default location
      2. Open test.html (see below) in the Intenet Explorer 5

      You will see error message

      Java(TM) Plug-in 1.4 Fatal Error
      The Java Runtime Environment cannot be loaded from <\bin\hotspot\jvm.dll>

      ----- test.html -----
      html>
      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      WIDTH = 600 HEIGHT = 400 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
      <PARAM NAME = CODE VALUE = "any.applet.class.name" >

      <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
      <COMMENT>
      <EMBED type="application/x-java-applet;version=1.3" CODE = "any.applet.class.name" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html">
      <NOEMBED>
      </COMMENT>

      </NOEMBED></EMBED>
      </OBJECT>
      </html>
      ----- test.html end -----

      Test output:
      =============
      The Java Runtime Environment cannot be loaded from <\bin\hotspot\jvm.dll>

      Specific Machine Info:
      =====================
      Hostname: linux-17
      OS: Windows 98

      ======================================================================

            dgu Dennis Gu (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: