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

(1.1,launcher) jre.exe does not look in local directory for javai.dll on NT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.1.3, 1.1.5, 1.1.6
    • hotspot
    • x86
    • windows_nt



      Name: rlT66838 Date: 08/14/97


      According to your JRE notes for Windows NT: (JRE1.1.3)

      (located at http://www.javasoft.com/products/jdk/1.1/runtime.html)

      "By default, the jre program will use the above registry keys when looking for an installed JRE. If the required
      version of the JRE can not be found using the above registry settings, then jre.exe will default to the VM (javai.dll)
      that is installed in the same directory as the jre.exe program itself. "

      However this is not the case.

      jre.exe will not start if the NT registry key
      HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Development Kit\JavaHome
      is set to an invalid directory. It will not use the javai.dll that is
      in the same directory as jre.exe.

      The error is:
      "Could not load runtime library: C:\java\jdk1.1.3FOO\bin\javai.dll"

      Furthermore, it can not be overridden by setting an environment variable or
      using the -D jre command line option.

      This situation could happen if you installed jdk1.1.*
      or the jre1.1* from Javasoft, then deleted or moved
      their Java directories without running the un-install program to clean
      up the NT registry keys.


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

            dconnellsunw David Connelly (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: