This has been submitted to Oracle and entered as a bug into their bug tracking system under Bug Id: 9009448. This bug is not publicly available.
This issue is active. This page may be updated with additional information as it becomes available.
This issue was experienced when:
This issue is active. This page may be updated with additional information as it becomes available.
This issue was experienced when:
- Java 7 Update 11 to Java 7 Update 25 Upgrade on Windows x64
- Java 7 Update 25 to Java 7 Update 45 Upgrade on Windows x64
- Java 7 Update 45 to Java 7 Update 51 Upgrade on Windows x64
This document focuses on the Java 7 Update 25 to Java 7 Update 45 Upgrade on Windows x64.
Issue
When Java is upgraded using the silent switch (/s) with the installer executable and Java files are in-use, the following is experienced:- Java web sites and applets no longer work
- Java version verification site showed no version installed
- The previous version of Java was partially uninstalled from the file system
- The previous version of Java was removed from Programs and Features (aka Add/Remove Programs)
- The new version of Java was not installed on the file system
* Java 7 Update 51: Files were installed in the Program Files folder, but missing from SysWOW64 - The new version of Java was added to Programs and Features (aka Add/Remove Programs)
- Java Control Panel applet is missing
What does this mean?
Most companies inventory a system using Programs and Features (aka Add/Remove Program) data. Moreover, most companies use patch software that detects installed versions that require patching. Both of these processes break when Java's installer causes this issue. The program shows as installed when the product is definitely not which will throw off installed totals, etc. Patching solutions will show the system as not requiring a patch or as even having the software.
Cause
The versions of Java were not packaged correctly to work when installations are performed silently. They neither take advantage of Windows Installer functionality nor address errors encountered. When an in-use file is encountered, the installation silently continues instead of rolling back.
This is different from installations that are not silent; during those installations the user is prompted to close the programs identified as having files in-use.
When installing software on a given platform, a company must hire persons with the skill set to properly package software using technologies for that platform; in this case Windows Installer.
This issue is different, almost the exact opposite, of that described in JDK-7042296 : Silent Installations Break Java Installation, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7042296, that was opened on 05/05/2011 and still has the status of Open and is Unresolved. This shows how much the vendor cares about their product and the persons/companies using it.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft is populated with Java 7 Update 45 data.
This is different from installations that are not silent; during those installations the user is prompted to close the programs identified as having files in-use.
Additional Information
The executable is a wrapper that extracts a Windows Installer package. The Windows Installer package does not install the software, but instead places the installation files on the file system and runs Custom Actions to install Java.When installing software on a given platform, a company must hire persons with the skill set to properly package software using technologies for that platform; in this case Windows Installer.
This issue is different, almost the exact opposite, of that described in JDK-7042296 : Silent Installations Break Java Installation, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7042296, that was opened on 05/05/2011 and still has the status of Open and is Unresolved. This shows how much the vendor cares about their product and the persons/companies using it.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft is populated with Java 7 Update 45 data.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall is populated with Java 7 Update 45 data.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations is populated with Java 7 Update 45 data. This makes it impossible to install Java until the system is rebooted or the data for the value is modified to remove Java-specific entries.
Neither a repair nor an installation over the currently broken version can be performed. A full uninstall/install will be required.
Steps to Reproduce
Note: Java 7 Update 25 / Java 7 Update 45
- Install Java 7 Update 25
(jre-7u25-windows-i586.exe /s /norestart /L %windir%\system32\LogFiles\jre-7u25-windows-i586_inst.log) - Verify the installed Java web browser version
- Open https://www.java.com/en/download/installed.jsp?detect=jre
- Click Run when asked "Do you want to run this application?"
Do not check the checkbox to "not show again" - Version shows as Java 7 Update 25
- Close the web page.
- Verify the installed Java system version
- Open Java Control Panel (32-bit)
("%ProgramFiles% (x86)\Java\jre7\bin\javacpl.exe") - Select the Java tab
- Select the User tab; version is 1.7.0_25
- Select the System tab; version is 1.7.0_25
- Close Java Conrol Panel (32-bit)
- Verify the installed Java executables
- Open a Command Prompt
- Type: DIR %WINDIR%\SysWOW64\java*
- Returns a list of Java executables
- Close Command Prompt
- Verify the installed Java in Programs and Features
- Open/Refresh Programs and Features in Control Panel
- Java 7 Update 25 is shown
- Close Programs and Features
- Verify the installed Java web browser version
- Open https://www.java.com/en/download/installed.jsp?detect=jre
- Do nothing when asked "Do you want to run this application?"
- Install Java 7 Update 45
(jre-7u45-windows-i586.exe /s /norestart /L %windir%\system32\LogFiles\jre-7u45-windows-i586_inst.log) - Review the installation log.
(%windir%\system32\LogFiles\jre-7u45-windows-i586_inst.log) - The log showed 1603 errors
- Must reboot to complete operation.
- Close that application and retry.
- The log showed the installation was successful.
- Windows Installer installed the product. Product Name: Java 7 Update 45. Product Version: 7.0.450. Product Language: 1033. Manufacturer: Oracle. Installation success or error status: 0.
- Close the web browser.
- Verify the installed Java web browser version
- Open https://www.java.com/en/download/installed.jsp?detect=jre
- Click Run when asked "Do you want to run this application?"
Do not check the checkbox to "not show again" - Version check errors
- Close the web page.
- Verify the installed Java system version
- Open Java Control Panel (32-bit)
("%ProgramFiles% (x86)\Java\jre7\bin\javacpl.exe") - Select the Java tab
- Select the User tab; version is 1.7.0_25
- Select the System tab; version is 1.7.0_25
- Close Java Conrol Panel (32-bit)
- Verify the installed Java executables
- Open a Command Prompt
- Type: DIR %WINDIR%\SysWOW64\java*
- Returns File not found
- Close Command Prompt
- Verify the installed Java in Programs and Features
- Open/Refresh Programs and Features in Control Panel
- Java 7 Update 45 is shown
- Close Programs and Features
No comments:
Post a Comment