JDK-6252614 : Uninstallation of 5.0 does not restore system to a state where webstart 1.0 works
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0u2
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-04-08
  • Updated: 2010-04-26
  • Resolved: 2005-10-11
Related Reports
Relates :  
J2SE Version (please include all output from java -version flag):

  java version "1.3.0"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
  Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

  java version "1.5.0_02"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
  Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

Does this problem occur on J2SE 1.3, 1.4.x or 1.5?  Yes / No (pick one)
  1.3 N/A
  1.4 Have not tested
  1.5 Yes

Operating System Configuration Information (be specific):
  Windows 98 SE, Windows 2000 Server, possibly others

Bug Description:
  Uninstallation of 5.0 does not restore system to a state where webstart 
  1.0 works

Steps to Reproduce (be specific):
  Install webstart 1.0
  Install J2SE 5.0
  Uninstall J2SE 5.0
Internet Explorer and Firefox will not detect webstart's presence after the
 Clicking on a JNLP link will cause an "Open With" dialog, where javaws can be chosen, but webpages designed to detect webstarts presence 
will not function correctly.

Interestingly, if webstart is chosen in that "Open With" dialog (Windows 2000
Server), it will never change.  Once webstart has been associated manually 
from the list, an install of 5.0 will NOT activate webstart 5.0.  All JNLP 
link still end up referring to webstart 1.0.  Uninstall and reinstall (all 
java and webstart versions) all you want, it will never re-associate the JNLP
extension with anything other than the webstart you chose in the list.  IE and
Firefox are both using the Window's default, so it is not the browser that is
having the issue.

To fix this problem, it is necessary to do the association manually again in
the advanced options of Firefox.  I assume, though, that other installs in 
the future will need tweaking before they will work as well.

Detection code in the HTML page is as follows:
<SCRIPT LANGUAGE="Javascript"> 
	var javawsInstalled = 0; 
 	isIE = "false"; 

 	if (navigator.mimeTypes && navigator.mimeTypes.length) { 
		x = navigator.mimeTypes['application/x-java-jnlp-file']; 
		if (x) javawsInstalled = 1; 
	} else { 
		isIE = "true"; 

 	function jumpToPage(url1, url2) { 
		if (javawsInstalled) { 
		} else { 

	on error resume next 
	If isIE = "true" Then 
			If Not(IsObject(CreateObject("JavaWebStart.IsInstalled"))) Then 
			javawsInstalled = 0 
			javawsInstalled = 1 
		End If 
	End If 

###@###.### 2005-04-08 15:36:17 GMT

EVALUATION 1.4.1 1.4.0, 1.3.0, 1.2.2, 1.1 have been EOL'd. Refer to http://java.sun.com/products/archive/j2se-eol.html. 1.4.2+ is ok using this testcase. 4912211 will address the association problem. Please refer to 4912211 for details.

EVALUATION Java Web Start 1.0 has been EOL'd and not available anywhere for several years. If the same problem occurs with 1.0.1 vs 5.0 , then we need to address it in the installer. The uninstaller of java 5.0 does properly hook up a previous java web start if that version is 1.4.2. We need to retest if it properly hooks up version 1.2, or version 1.0.1 ###@###.### 2005-04-10 15:55:02 GMT