Name: gm110360 Date: 11/13/2003
FULL PRODUCT VERSION :
Can't give you this, because J2SDK versions 1_4_2_01 and 1_4_2_02 does not install on Windows 2000 SP4. Perhaps they do install on earlier Service Pack versions of Windows 2000; I cannot test this.
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195] SP4
EXTRA RELEVANT SYSTEM CONFIGURATION :
2 CPU (Pentium III) SMP machine
A DESCRIPTION OF THE PROBLEM :
I am able to install the 1.4.2_02-b03 JRE package on Windows 2000 Pro (SP4).
However, the 1.4.2_02-b03 SDK package does not install: some way through the process (the file copy stage) a modal dialog is displayed:
"Warning - Java(TM) Update
---------------------------
Java(TM) Update (1.4.2_02-b03) cannot be installed on this machine because the Java(TM) Virtual Machine is currently running.
Please close all running Java(TM) applications, especially browsers.
---------------------------
Retry Cancel
---------------------------"
and when Cancel is clicked, the main MSI installer program displays an Error 1722 modal dialog ("A program failed to execute ...") and the main MSI program announces installation has failed, nothing has been installed, and so on.
No JVM is running.
The MSI log in the temp directory displays
"Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action patchsdk, location: C:\Program Files\Common Files\Java\Update\Base Images\j2sdk1.4.2-b28\patch-j2sdk1.4.2_02-b03\patchsdk.exe, command: -s "C:\Programs\Java\SDK\"
=== Logging stopped: 06/11/2003 23:53:02 ===
"
Examination of the installation directory (C:\Programs\Java\SDK in my case) shows that program files have been copied (and it looks complete), but the Java applet in the Control Panel does not show that the JRE in the SDK directory has been registered as a JRE choice (normally it is in the drop-down list of available JREs). The Windows registry has not be updated to show these choices.
So what can I do? Both 1.4.2_01 SDK and 1.4.2_02 SDK show this problem; 1.4.2 (FCS) does *not*. The problem also occurs with the IFTW installers.
Any solutions?
Some have suggested that I just try installing the SDK in the default path (C:\jdk_1.4.2_02), but I have that distaste for creating new root-level folders, I usually install programs in folders off c:\programs. Much neater.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Download any one of j2sdk-1_4_2_01-windows-i586.exe, j2sdk-1_4_2_01-windows-i586-iftw.exe, j2sdk-1_4_2_02-windows-i586.exe, j2sdk-1_4_2_02-windows-i586-iftw.exe.
Execute one of these installation programs.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
J2SDK successful installation.
ACTUAL -
the 1.4.2_02-b03 SDK package does not install: some way through the process (the file copy stage) a modal dialog is displayed:
"Warning - Java(TM) Update
---------------------------
Java(TM) Update (1.4.2_02-b03) cannot be installed on this machine because the Java(TM) Virtual Machine is currently running.
Please close all running Java(TM) applications, especially browsers.
---------------------------
Retry Cancel
---------------------------"
and when Cancel is clicked, the main MSI installer program displays an Error 1722 modal dialog ("A program failed to execute blah blah...") and the main MSI program announces installation has failed, nothing has been installed, and so on.
No JVM is running.
The MSI log in the temp directory displays
"Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action patchsdk, location: C:\Program Files\Common Files\Java\Update\Base Images\j2sdk1.4.2-b28\patch-j2sdk1.4.2_02-b03\patchsdk.exe, command: -s "C:\Programs\Java\SDK\"
=== Logging stopped: 06/11/2003 23:53:02 ===
"
Examination of the installation directory (C:\Programs\Java\SDK in my case) shows that program files have been copied (and it looks complete), but the Java applet in the Control Panel does not show that the JRE in the SDK directory has been registered as a JRE choice (normally it is in the drop-down list of available JREs). The Windows registry has not be updated to show these choices.
So what can I do? Both 1.4.2_01 SDK and 1.4.2_02 SDK show this problem; 1.4.2 (FCS) does *not*. The problem also occurs with the IFTW installers.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
See above
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
None found.
(Incident Review ID: 225487)
======================================================================