JDK-8081846 : Add a URL scheme handler to reliably launch .jnlp files - Windows registration part
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-03
  • Updated: 2016-08-30
  • Resolved: 2015-06-30
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 JDK 9
8u72Fixed 9 b74Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
see JDK-8055464, this enhancement if for the windows registration in RegFX.cpp to add registry entries:
HKCR \ jnlp \ (Default) = "URL:jnlp Protocol"
HKCR \ jnlp \ URL Protocol = ""
HKCR \ jnlp \ shell \ open \ command \ (default) = "C:\Program Files (x86)\Java\jre1.8.0_60\bin\javaws.exe" "%1"
and
HKCR \ jnlps \ (Default) = "URL:jnlps Protocol"
HKCR \ jnlps \ URL Protocol = ""
HKCR \ jnlps \ shell \ open \ command \ (default) = "C:\Program Files (x86)\Java\jre1.8.0_60\bin\javaws.exe" "%1"
(of course pointing to the current javaws version being installed),
and to properly remove them on uninstall (or modify to point to the latest version).

There is also likely a registry key to automatically use Java Web Start Launcher for this.  When I add just the above keys, and then launch the tests in: http://oklahoma.us.oracle.com/www/tests/jnlp/test.html  (in firefox), I get a dialog asking me if I want to use the Java Web Start Launcher for this, it has a always use checkbox, if checked, I will not see this dialog again.  We may also want to set whatever registry key this checkbox sets.