United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6651974 JQS reports error messages during uninstall
JDK-6651974 : JQS reports error messages during uninstall

Details
Type:
Bug
Submit Date:
2008-01-17
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-06-27
Component:
install
OS:
windows_xp
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b26)

Related Reports
Backport:

Sub Tasks

Description
When installing 6u11 b11 Patch-in-Place from 6u10 b10, JQS error messages are written to java_install_reg.log.

Expect no error messages in the log during installation.

Error messages:
JQS ERROR: (GetLastError=1060): Cannot find JQS service JavaQuickStarterService
JQS ERROR: Cannot find JavaHome for 1.6
JQS ERROR: Cannot find JavaHome for 1.6


java_install_reg.log for installing 6u11 Patch-in-Place:
** Start WINAPI GetLogFileName **
Service stopped successfully

** Start WINAPI UninstallJRE **
-- Start in IsDefaultVMInIExplorer --
-- End in IsDefaultVMInIExplorer --
-- Start in UnregJava2BrowserDefault 1 --
-- Start in UnregJava2BrowserDefault 2 --
-- Start in UnregJava2BrowserDefault 0 --
-- Start in UnregJava2IExplorerDefault --
-- End in UnregJava2IExplorerDefault, return TRUE --
** Start WINAPI UnregisterJavaWS **
** Executing the following command: **
"C:\Program Files\Java\jre6\bin\javaw.exe" -classpath "C:\Program Files\Java\jre6\lib\javaws.jar;C:\Program Files\Java\jre6\lib\deploy.jar" -Dkernel.background.download=false com.sun.javaws.Main -silent -shortcut -uninstall
-- Start in UninstallJavaRegSet --
JQS ERROR: (GetLastError=1060): Cannot find JQS service JavaQuickStarterService

-- RemoveInstalledFilesRegSet: DeleteFile() failed.
JQS ERROR: Cannot find JavaHome for 1.6

-- End in UninstallJavaRegSet --
Start in ReregisterCurrentJRE
** Start WINAPI InstallJava: 0 **
JQS ERROR: Cannot find JavaHome for 1.6

-- Start in InstallJavaJREBrowserSettings --
-- Start in RegJava2IExplorerDefault --
-- End in RegJava2IExplorerDefault, return TRUE --
-- Start in RegJava2BrowserDefault 0 --
-- Start in RegJava2BrowserDefault 1 --
-- Start in RegJava2BrowserDefault 2 --
-- End in InstallJavaJREBrowserSettings, return TRUE --
** Start RegisterJavaWS v.1.6.0_11 (JAVA_HOME=C:\Program Files\Java\jre6) **
** Start WINAPI CleanupTempFiles **
** End WINAPI CleanupTempFiles **
** End WINAPI InstallJava **

                                    

Comments
EVALUATION

The fix is to examine if this issue is:

1. reproducible
2. problematic functionality-wise
                                     
2008-04-30
EVALUATION

I've investigated this a little further.  It is still reproducible in 6u10-b24.  The problem isn't necessarily in PatchInPlace, but rather during the uninstall of the JRE.

Easier steps to reproduce:

1. Install JRE
2. Uninstall JRE
3. View errors in java_install_reg.log file:

-- Start in UninstallJavaRegSet --
ERROR: FindJavaHome Open(JDKMAINKEY) failed.
ERROR: FindJavaHome Open(JDKMAINKEY) failed.
ERROR: FindJavaHome Open(JDKMAINKEY) failed.
JQS ERROR: (GetLastError=1060): Cannot find JQS service JavaQuickStarterService
JQS unregistered OK.

I've modified the synopsis.
                                     
2008-05-23



Hardware and Software, Engineered to Work Together