JDK-8010014 : Unable to execute javaws -uninstall
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: deploy
  • Sub-Component: webstart
  • Priority: P3
  • Affected Version: 7u21
  • OS: generic
  • CPU: generic
  • Submit Date: 2013-03-13
  • Updated Date: 2013-08-02
  • Resolved Date: 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 Availabitlity 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
2013-03-26

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

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

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.
2013-03-19

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

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