United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6648440 "msvcr71.dll not found" error message from incomplete Java Kernel running java -version
JDK-6648440 : "msvcr71.dll not found" error message from incomplete Java Kernel running java -version

Details
Type:
Bug
Submit Date:
2008-01-09
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-05-16
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b11)

Related Reports

Sub Tasks

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.
                                     
2008-01-09
SUGGESTED FIX

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



Hardware and Software, Engineered to Work Together