Difference between revisions of "Java"
Line 1: | Line 1: | ||
'''J2SE Runtime Environment 5.0 Update 9''' | '''J2SE Runtime Environment 5.0 Update 9''' | ||
− | This requires the Windows Offfline installation package available from Sun. | + | This requires the Windows Offfline installation package available from Sun. Note that the java install package does not replace old versions, so to accomplish a true upgrade, remove commands are required for the install/upgrade process. |
− | <package id="jre" name="Java Runtime Environment 1.5.0_9" revision="2" reboot=" | + | <package id="jre" name="Java Runtime Environment 1.5.0_9" revision="2" reboot="true" priority="0"> |
<check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 9" /> | <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 9" /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150000}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150010}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150020}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150030}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150050}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150070}' /> | ||
+ | <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150080}' /> | ||
<install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_09-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> | <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_09-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150000}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150010}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150020}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150030}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150050}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150070}' /> | ||
+ | <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150080}' /> | ||
<upgrade cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_09-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> | <upgrade cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_09-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> | ||
<remove cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150090}' /> | <remove cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150090}' /> |
Revision as of 15:06, 20 October 2006
J2SE Runtime Environment 5.0 Update 9
This requires the Windows Offfline installation package available from Sun. Note that the java install package does not replace old versions, so to accomplish a true upgrade, remove commands are required for the install/upgrade process.
<package id="jre" name="Java Runtime Environment 1.5.0_9" revision="2" reboot="true" priority="0"> <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 9" /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150000}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150010}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150020}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150030}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150050}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150070}' /> <install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150080}' /> <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_09-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150000}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150010}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150020}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150030}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150050}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150070}' /> <upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150080}' /> <upgrade cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_09-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> <remove cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150090}' /> </package>
J2SE Runtime Environment 5.0 Update 6
This requires the Windows Offline installation package available from Sun.
<package id="jre" name="Java Runtime Environment 1.5.0_6" revision="1" reboot="true" priority="0"> <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 6" /> <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\java %SOFTWARE%\java\jre-1_5_0_06-windows-i586-p.exe /s /v" /qn IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Supress JAVAUPDATE=0' /> <remove cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}' /> </package>
J2SE Runtime Environment 5.0 Update 5
First download the EXE package from java.sun.com, install it, and find an MSI package on your drive. Then use this MSI to distribute Java to other machines.
Note: When you use the *.exe file directly with command line switches as proposed by sun the installer waits forever for someone accepting the licence agreement.
Note that "install cmd" should be in one line; it was wrapped because it was too long to fit here!
<package id="jre" name="Java Runtime Environment 1.5.0_05" revision="1" reboot="true" priority="9"> <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 5" /> <install cmd='msiexec /q /i %SOFTWARE%\Java\jre1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL' /> <remove cmd='MsiExec.exe /q /x{3248F0A8-6813-11D6-A77B-00B0D0150050}' /> </package>
<package id="jdk" name="Java Development Kit 1.5.0_05" revision="1" reboot="true" priority="9"> <check type="uninstall" condition="exists" path="J2SE Development Kit 5.0 Update 5" /> <install cmd='msiexec /q /i %SOFTWARE%\Java\jdk1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL' /> <remove cmd='MsiExec.exe /q /x{32A3A4F4-B792-11D6-A78A-00B0D0150050}' /> </package>
See also Sun Java