JDK-8010014 : Unable to execute javaws -uninstall
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-03-13
  • Updated: 2013-08-02
  • Resolved: 2013-03-19
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 7 JDK 8
7u21 b08Fixed 8Fixed
Description
In the case of nstalling 7u21 after removing jre 8,  javaws -uninstall will give the error message
"Error encountered while invoking Java Web Start (execv)....."

*** Tested Configurations:
- x86 Vista, Win 7
- jre 8-b80, jre 7u21-b06

*** Steps to reproduce:
0) Uninstall all JREs and clean up all related java registries
1) Install latest promoted  jre 8-b80
2) Uninstall jre8-b80
3) Install latest promoted 7u21-b06
4) From the command line, invoke javaws -uninstall

If you see the error message as attached screenshot, the issue is reproducible 



Comments
Verified on x86 Vista, installed jre 7u21-b09 promotion after install/uninstall jre8-b82 promotion. The fix works fine
26-03-2013

simple fix, regression in 7u21
19-03-2013

webrev: http://sa.sfbay.sun.com/mail-archive/8010014-deployment/
19-03-2013

problem: our javaws native launcher just use the jre index 0 of deployment.properties always if it's there, even if it's pointing to a bad path. fix: always use default latest jre that comes with javaws testcase: see bug report. native code change only. noreg-hard.
19-03-2013

This is a JDK 8+7 problem only. This can be deferred.
19-03-2013

SQE Ok to get this issue defer for 7u21
18-03-2013