United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8010014 : Unable to execute javaws -uninstall

Details
Type:
Bug
Submit Date:
2013-03-13
Status:
Closed
Updated Date:
2013-08-02
Project Name:
JDK
Resolved Date:
2013-03-19
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u21
Fixed Versions:
7u21 (b08)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:

Sub Tasks

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
SQE Ok to get this issue defer for 7u21
                                     
2013-03-18
This is a JDK 8+7 problem only.  This can be deferred.
                                     
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
webrev:  http://sa.sfbay.sun.com/mail-archive/8010014-deployment/
                                     
2013-03-19
simple fix, regression  in 7u21
                                     
2013-03-19
Verified on x86 Vista,  installed jre 7u21-b09 promotion after install/uninstall jre8-b82 promotion.
The fix works fine 
                                     
2013-03-26



Hardware and Software, Engineered to Work Together