Changes

Java

1,546 bytes removed, 07:42, 19 September 2012
m
Installer Command-line Switches: Delete duplicate info
Patch-in-place sometimes fails with "Error 25099. Unzipping core files failed", returning error code 1603 from msiexec. Sometimes installation will succeed on a later reboot without any intervention, but sometimes it continues to fail. As of December 2010, the root cause is not known, but Sun/Oracle suggests (at http://www.java.com/en/download/help/error_25099.xml) removing %PROGRAMFILES%\Java\jre6 before retrying installation. A fully-automatic workaround requires the ability to execute commands in response to particular error codes and thus may need to take the form of a batch program wrapped around msiexec.
 
== Installer Command-line Switches ==
 
http://java.sun.com/javase/6/webnotes/install/jre/silent.html gives the following list for Java version 6 but it may or may not be complete:
* /lang=<language ID>, if used, sets the localized language for the installer (see language IDs)
* /s, if used, specifies a silent installation
* INSTALLDIR, if used, specifies the drive and path of the installation
* If INSTALLDIR is not specified, the installation will go into C:\Program Files\java\jre6 (default location).
* REBOOT=Suppress, if used, indicates that if locked files are encountered the computer should not be rebooted. Most JRE installations will not ask for a reboot.
* STATIC=1, if used, specifies a static installation. The default is for a Family installation.
* SYSTRAY=0, if used, if set to zero, Java won't show an systray icon when loaded.
 
The following switches are deprecated for JRE 6 Update 10 and higher:
* IEXPLORER=1
* MOZILLA=1
* ADDLOCAL=ALL
* JAVAUPDATE=0
* JU=0
* AUTOUPDATECHECK=0
 
From the 'Java SE 6 Update 10 Release Notes':
"Windows Regression when Using MSI Install Options
 
On Windows XP Pro SP3 (32bits), when installing JRE 6u10 or later and using MSI install options /qb or /passive, installation fails with Error 1606.Could not access network location 0..
The workaround is to not use the /qb or /passive options.
Options that work correctly are /q, /qn (no UI), /qr (reduced UI), and /quiet (quiet mode, no user interaction).
See [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6764967 6764967] for details."
== Disable Automatic Update - older versions ==
58
edits