JDK-8186344 : 64 bit java install not setting jnlp associate if lower 32bit versions exist
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 8u131
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2017-08-16
  • Updated: 2022-11-15
  • Resolved: 2017-08-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 8
8u161Fixed
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Windows 7 Enterprise SP1 x64

EXTRA RELEVANT SYSTEM CONFIGURATION :
Test edwith 1.8_71 32bit

A DESCRIPTION OF THE PROBLEM :
Associates jnlp file type with 32bit installation on machines where dual install occurs.

REGRESSION.  Last worked in version 8u121

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install 1.8_71 32bit, install 1.8_131 64bit. 

HKEY_CLASSES_ROOT\JNLPFile\Shell\Open\Command references the 32bit install.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
64bit install should be referenced.
ACTUAL -
Reports the path toe 32bit install.

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
From the initial run it seems that the default Java associated with jnlp is always 32-bit, when a 64-bit version, even if latest is installed along. Checked this on a Windows 10 system: Installed JRE 8u71 (32-bit) and 8u131/8u144 (64-bit). The JRE registered in the registry is always C:\Program Files (x86)\Java\jre1.8.0_71\bin\javaws.exe" "%1" Post removal of 8u71 (32-bit), correct JNLP association is regained. "C:\Program Files\Java\jre1.8.0_144\bin\javaws.exe" "%1" 9 ea b181, behaved fine as expected. The concern here is: - 64-bit Java installation is not setting correct JNLP association, when a lower 32-bit version is present. - An older version (8u71), supersede the JNLP association, even when the latest version is available.
17-08-2017