Java Runtime Environment Version 6.0 Update 18

on .

User Rating:  / 11
PoorBest 

Sun Microsystems has released "Java Runtime Environment Version 6.0 Update 18". This release contains fixes for one or more security vulnerabilities. For more information, please see Sun Alerts 269868, 269869, 269870, 270474, 270475, and 270476.

First of all download and run jre-6u18-windows-i586.exe. This file, select 'Windows (Offline Installation), is available in the Download section of Sun's Java website.

When the License Agreement screen pops up, look in the c:\Documents and Settings\<username>\Local Settings\Application Data\Sun\Java\jre1.6.0_18 directory. In that directory you will find the 'jre1.6.0_18.msi'. The .msi file is the one we can use to deploy "Java Runtime Environment Version 6.0 Update 18" by using MSI technology.

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 some basic 'Setup Properties' in the Tuner:

  • AUTOUPDATECHECK - Java Update mechanism - on {1} or off {0}
  • EULA - popup the EULA when you first start a Java applet - 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 you can also collect the JRE's registry settings to tweak the JRE a little more.

Launch the "Java Control Panel" (available in c:\Program Files\Java\jre6\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 want to disable the 'Update' tab, then use this registry setting to enable (00000001) or disable it (00000000):

    [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.6.0_18]
    "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.

    This 'deployment.properties' file is used for storing and retrieving deployment configuration properties in the Java Control Panel. They are also used for customizing runtime behavior for both Java Plug-in and Java Web Start. There is always a User-Level deployment.properties file. Its location, which is non-configurable, is described here. There may also be an (optional) System-Level deployment.properties file. If it exists, its location is determined by a System Administrator through the deployment.config file as described here.