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

cannot load library "jvm.dll" because "msvcr100.dll" not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7
    • install
    • x86
    • windows_7

      FULL PRODUCT VERSION :
      happens on both of these:
      Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b19)
      Java(TM) SE Runtime Environment (build 1.7.0_05-b05)

      ADDITIONAL OS VERSION INFORMATION :
      6.1.7601

      A DESCRIPTION OF THE PROBLEM :
      The library "jvm.dll" cannot be loaded dynamically, because it requires "msvcr100.dll",
      which is not located in the same directory and thus is not found
      (unless it happens to be installed globally in the system, which the JRE evidently
      does not do).

      in my installation i've got "msvcr100.dll" in the jre/bin directory and "jvm.dll" in jre/bin/client.

      This could be fixed by:
      1. putting another copy of "msvcr100.dll" in the same directory as "jvm.dll
      2. installing the Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) with the JRE

      REGRESSION. Last worked in version 6u31

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Configuring LibreOffice to use Oracle JRE 7 on Windows results in broken Java functionality;
      any attempt to use features implemented in Java only yields a popup that
      complains that "The selected JRE is defective".

      For example, click on File->Wizards... in the menu, you get this error.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It ought to be possible to dynamically load "jvm.dll" without further setup.
      ACTUAL -
      Loading "jvm.dll" fails.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      manually install:
      Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
      http://www.microsoft.com/en-us/download/details.aspx?id=8328

      The LibreOffice team is currently considering shipping
      the MSVC++2010 runtime as part of our binary installation set and installing it
      in the system just in order to work around this bug in (to us) third-party software,
      which does seem rather silly.

      https://bugs.freedesktop.org/show_bug.cgi?id=50584

            Unassigned Unassigned
            pardesha Pardeep Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: