Java Runtime Environment Version 5.0 Update 9
First of all download and run jre-1_5_0_09-windows-i586-p.exe. This file, select 'Windows (Offline Installation), is available in the Download section of Sun's Java website.
When the License Agreement screen pops, look in the c:\Documents and Settings\Administrator\Local Settings\Application Data\Sun\Java\jre1.5.0_09 directory. In that directory you will find '1033.MST' and 'J2SE Runtime Environment 5.0 Update 9.msi. The .msi file is the one we can use to deploy "Java Runtime Environment Version 5.0 Update 9" by using MSI technology and ZENworks.
Start up the AdminStudio Tuner and create a response transform file. It's as simple as that if you want to do a default deployment. For an advanced deployment you can further tweak you J2RE configuration two ways:
- by changing the 'Setup Properties
- by changing registry settings (the result is the same)
You can change the 'Setup Properties' in the Tuner:
AUTOUPDATECHECK - Java Update mechanism - on {1} or off {0}
EULA - accept the EULA - on {1} or off {0}
JAVAUPDATE - Java Update check during installation - on {1} or off {0}
SYSTRAY - System Tray Icon on {1} or off {0}
... but also after collection registry settings. Launch the "Java Control Panel" (available in c:\Program Files\Java\jre1.5.0_09\bin\javacpl.exe). Most settings you will change by using this utility will then be stored in the registry in [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
Some examples:
- Click on the "Update" tab. If you uncheck the "Check for Update Automatically" you will shutdown the Java Update mechanism. This may be wise, because we want to deploy newer versions by using ZENworks and not automatically by using the Java Update mechanism.If you change this setting, this registry setting is changed:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableJavaUpdate"=dword:00000000
- Click on the "Advanced" tab. If you open up the "Miscellaneous" node by clicking on the + sign, you can uncheck "Place Java icon in system tray". Which just does what is says. Now it has become more difficult for users to fiddle around with the J2RE configuration. If you change this setting, this registry setting is changed:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_09]
"HideSystemTrayIcon"=dword:00000001
Some settings however are stored somewhere else. Some examples:
- Click on the "General" tab. Click on 'Network Settings'. The settings you configure here are stored in:
C:\Documents and Settings\%USERNAME%\Application Data\Sun\Java\Deployment\deployment.properties

