JDK-6651974 : JQS reports error messages during uninstall
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-01-17
  • Updated: 2010-09-17
  • Resolved: 2008-06-27
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 6 JDK 7
6u10 b26Fixed 7Fixed
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 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.
23-05-2008

EVALUATION The fix is to examine if this issue is: 1. reproducible 2. problematic functionality-wise
30-04-2008