JDK-6648440 : "msvcr71.dll not found" error message from incomplete Java Kernel running java -version
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2008-01-09
  • Updated: 2010-09-08
  • Resolved: 2008-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10 b11Fixed
Description
After installation of the Java Kernel but before completion, execution of "java -version" (where java comes out of C:/WINDOWS/System32) on a machine that doesn't have the MS Visual Studio environment installed pops up an error dialog "msvcr71.dll not found". The reason is that the loading of jkernel.dll in the Java launcher needs to first load msvcr71.dll, just like normal loading of the JVM.

Issue discovered by ###@###.###.

Comments
EVALUATION The EnsureJreInstallation() function in the java launcher which calls preJVMStart() in the Java Kernel DLL needed to first load msvcr71.dll into the launcher's address space. Factored out the loading of msvcr71.dll so it could be called either from the Kernel-related code or the normal code path. Thanks to ###@###.###, ###@###.###, and ###@###.### for help building and testing these changes.
09-01-2008

SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u10/6648440.0
09-01-2008