JDK-8179348 : User friendly warning when Java WebStart Temporary Internet Files is disabled.
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86
  • Submitted: 2017-04-14
  • Updated: 2019-11-29
  • Resolved: 2017-05-31
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 10 JDK 8
10 b23Fixed 8u241Fixed
Description
A DESCRIPTION OF THE REQUEST :
When attempting to launch a Java WebStart application and the Java Temporary Internet Files is disabled, the current error message is not end user friendly. 

This is common throughout Java 6,7,8 and across architectures.



JUSTIFICATION :
The current error message is not intuitive and does not provide clear guidance on how to remediate the problem. It depends on the end user googling to search for the error message, and then finding the solution. Many users are not adept at searching through google and troubleshooting java applications. 

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
An error message pop up alerting the user, "Java Temporary Internet Files has been disabled. To correct this, open your Java Control Panel, and enable Temporary Internet Files."
ACTUAL -
A console exception is thrown:
BadFieldException[ Cache must be enabled for nativelib or installer-desc support,������https://hostname/app/nativelibswin32.jar������]
at com.sun.javaws.jnl.XMLFormat.handleResourceElement(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.access$800(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2$1.visitElement(Unknown Source)
at com.sun.javaws.jnl.XMLUtils.visitChildrenElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2.visitElement(Unknown Source)
at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.buildResourcesDesc(Unknown Source)