JDK-6540679 : JRE 6u1 fails plugin test on some windows Vista machines
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2007-03-30
  • Updated: 2010-09-17
  • Resolved: 2007-05-23
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 JDK 7
6u2 b03Fixed 7Fixed
Related Reports
Relates :  
Description
From what the L10N team reported, jre-6u1-*-windows-i586.exe bundle on Vista (ja) passed, but jdk-6u1-*-windows-i586-iftw.exe bundle on Vista (zh) failed plugin test.

The sympton reported is as follows:

1. Download and install 6u1 (jdk-iftw.exe) on Windows Vista/2003 (zh)

2. click on the "this <http://webeng.sfbay/plugin-test/>" link to go to the test page.

3. click on "Test Install" link for the corresponding release version ( 6u1) to begin testing.

Problem:

It prompts to install 6u1 again.

A machine with which the failure can be reproduced is in Beijing with Vista zh_CN locale.
The problem can be reproduced on any windows Vista machine which doesn't have the msvcr71.dll in the C:\windows\system32 directory.

Comments
EVALUATION The installer checks for windows Vista and will invoke some functions in the ssv.dll module to set the static versioning redirect registry keys. The ssv.dll has a dependency on the msvcr71.dll. For machines with msvcr71.dll in the C:\windows\system32 directory, the ssv.dll will be loaded successfully. Otherwise, the loading of ssv.dll will fail and the functions won't be called to set the static versioning redirect registry keys. A fix is to prepend the {JreHome}\bin to the PATH env. variable before loading the ssv.dll. Another problem I found is that the static versioning redirect keys were not deleted after uninstallation of JRE 6u1. The problem is due to the IsPlatformWindowsNT check isn't specific enough, it also returns TRUE for Vista. I'm adding more condition to ensure that block of code is executed only for non-Vista and up to XP windows platforms only.
31-03-2007