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

msvcp100.dll cannot be used in Applet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 7u25
    • deploy

      FULL PRODUCT VERSION :
      JRE 1.7.0.25

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.0.6002]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Windows Vista 64bit, XP 64bit, IE 7 or IE8

      A DESCRIPTION OF THE PROBLEM :
      We are getting problems finding dependent libraries on some older machines that do not have MSVC 2010 redistributables installed. Since the JRE doesn't distribute msvcp100.dll, we wish to embed this dll in our jar, but this does not fix the problem (JAVA still complains about not being able to find dependent libraries). I also tried to include msvcr100.dll, but that doesn't work.

        To get it to work, I can either install the redistributables on the machine, or just copy a version of msvcp100.dll into the Java\jre\bin directory. However, this is not a solution for supporting machines that cannot do this (we want to be able to support users that don't have administrator access).

      Is there a reason why my applet cannot find this dependent library, even though its included in the jar file?


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      - write an applet that uses JNI that depends on msvcp100.dll
      - deploy it on a website, and use a machine spec'ed out above to try to load this applet, it will fail.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Applet should run properly
      ACTUAL -
      Applet won't run, will get an error " Can't find dependent libraries "

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Applet won't run, will get an error " Can't find dependent libraries "

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      copy a version of msvcp100.dll into the Java\jre\bin directory

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: