FULL PRODUCT VERSION : 1.6.0_01 downloaded may-10 ADDITIONAL OS VERSION INFORMATION : Windows Vista Home Ultimate, all updates as of May-10-07 EXTRA RELEVANT SYSTEM CONFIGURATION : Standard user account in Vista (not limited) A DESCRIPTION OF THE PROBLEM : 1. JRE is apparently dynamically linked to the MSVCR71.dll instead of using static linking. 2. This DLL is not in system32 for standard Vista installs, and with standard user rights the java.com Download installer does not add the file there. Possible fixes are either using static linking (preferred) or change the installer to run as administrator. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : This is OK for the full IE7, but any use of the component version of IE, such as an MFC CHtmlView, will APPCRASH with c0000005 exception as soon as the embedded browser tries to load any applet. For a bug report that describes the symptoms without noting the cause, see # 6539732 EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - browser component loads and runs applet ACTUAL - APPCRASH exception c000005 ERROR MESSAGES/STACK TRACES THAT OCCUR : In MFC exes, APPCRASH exception c000005 in the VB.Net sample below it also displays the missing DLL name before the APPCRASH REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Start Visual Studio 6 or 2005, use AppWizard to build an MFC EXE, change the view from CView to CHtmlView at last step of wizard. In the OnInitialUpdate, change the navigation to the JVM version test page: . java.com/en/download/help/testvm.xml For a VB.Net crash see this article at CodeProject.com: Working with the Web Browser Control in Visual Studio 2005 - IE7Clone. By tmaxwell07 Download source or demo, run, navigate to any page with Java applet All of this requires running without the DLL in the system32 folder, which is the state of a normal Vista install that doesn't have developer tools installed. ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Manually copy the DLL into the same folder of the application using a browser component or into Windows > System32
|