JDK-7046670 : jnlp install hints are ignored in some cases.
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2011-05-20
  • Updated: 2014-08-11
  • Resolved: 2011-08-17
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.
7u2 b03Fixed 8Fixed
Related Reports
Relates :  
Relates :  
With default setting (Install if hinted) an app or applet will still not be "installed" if either:
1.) The jnlp file has no href for the main jnlp file and offline-allowed is not specified.
2.) The platform dosen't support shortcuts.

Tested OS: winxp
Tested JRE: jre7 pit 143 http://rehudson.sfbay.sun.com/hudsonws/deploypit/bundles/

reproduce steps:
1.) clear cache (javaws -uninstall)
2.) run :
javaws http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/html/DesktopIntegration.jnlp and allow shortcut.
3.) run javaws-clearcache (should not remove anything), if app is deleted, bug is reproduced.

Removed a couple of old -nmi tags as these are no longer relevant

EVALUATION decision to mark app as "installed" is made within the LocalInstallHandler, so as a side effect of not allowing shortcuts unless jnlp file has jnlp href or offline-allowed, an app cannot be "installed" if it has neither an href or the "offline-allowed" tag. another side effect of determining "installed" status inside the LocalInstallHandler is that on a platform not supporting lih (such as many unix's) an app is never considered "installed". either or both of these problems can be easily fixed. We should allow both shortcuts and running from the cache viewer even if app has no href or offline-allowed in it's jnlp file.