Oracle Java Runtime Environment (Update 6)

Version: 1
Views: 5.9k  |  Created: 10/01/2007

Average Rating: 0
Java Runtime Environment (Update 6) has 1 inventory records, 9 Questions, 0 Blogs and 1 links. Please help add to this by sharing more!

Deployment Tips (10)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 1 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
or cancel
157
Note
To extract the MSI from this executable...

1) Download the Java SE Runtime Environment 6 Update 1 file from . The file should be named something like jre-6u1-windows-i586-p-s.exe.

2) Double-click on the EXE to begin the installation.

3) When the "Welcome" screen appears, DO NOT click next. Instead, browse to "C:\Documents and Settings\[username]\Application Data\Sun\Java\jre1.6.0_01\. There you will find the extracted "jre1.6.0_01.msi", which can be used for the installation rather than the EXE.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
155
Note
Create a transform (.MST) by editing a copy of the MSI,

Property Value [IEXPLORER] {0}->{1}
Property Value [JAVAUPDATE] {1}->{0}
Property Value [AUTOUPDATECHECK] {1}->{0}
Property Value [JU] {1}->{0}
Property Value [MOZILLA] {0}->{1}
Property Value [SYSTRAY] {1}->{0}
Property Value [mozilla] {0} -> {1}

Deploy through Group Policy with MST.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
15
Note
I've always been annoyed that the installer did not uninstall previous versions. I figured out how to do this by stumbling on a Property / Value in the msi.

To remove previous java versions when you install, use an MSI editor (Orca or otherwise) and change the Property "MODIFYREMOVE" to remove instead of modify. I've generated a transform with this change and it worked with Java JRE 6.0 Update 12 (removed Update 11).
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
8
Note
Windows 7 x86 and x64

Here the path to find your msi:

C:\Users\%username%\AppData\LocalLow\Sun\Java

;-)
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Command Line
From Sun's website...

JRE Installation Command Line Syntax

<jre>.exe [/lang=<language ID>] /s
[INSTALLDIR=<drive>:\<install_path>]
[REBOOT=Suppress]
[STATIC=1]

where

* <jre>.exe is the single executable installer for the Java Runtime Environment (JRE)
* /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
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
2
Note
Also to note is that I have had some Java installs not delete/update the deployment.properties file which is the file that websites use to check to see what version you are running. I use the following at the end of my batch script to delete this file and the next time Java runs, the new deployment.properties file is generated with the correct version.

IF EXIST "C:\Documents and Settings\user\Application Data\Sun\Java\Deployment\deployment.properties" del "C:\Documents and Settings\user\Application Data\Sun\Java\Deployment\deployment.properties" /f /q
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
To hide Update-tab in Java control panel, create a custom action, add the following VB-script and put the custom action in Install Exec Sequence: After PreloadJavaFX.

The script:

Option Explicit

const HKEY_LOCAL_MACHINE = &H80000002
Dim strComputer, strKeyPath, strValueName, oReg

strComputer = "."
Set oReg = GetObject( _
"winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\JavaSoft\Java Update\Policy"
strValueName = "EnableJavaUpdate"
oReg.SetDWORDValue _
HKEY_LOCAL_MACHINE,strKeyPath,strValueName,00000000

Set oReg = Nothing
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
When downloading the Java package from Sun, be sure to get the "offline" package - you can get that from here:

http://java.com/en/download/manual.jsp
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
I have also been using a custom action with a VBScript to set the EnableJavaUpdate setting to 0 in the registry.

This did not seem to work with the 64-bit version of Java, but after a lot of trying different things and research, I found the following information:
If you have a custom action with a script, you have to modify its Type value in the Custom Actions table.

See http://msdn.microsoft.com/en-us/library/aa367428(VS.85).aspx
and also reference http://msdn.microsoft.com/en-us/library/aa371538(VS.85).aspx to see what you need to set the Type value to.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
The below steps guide you how to Install JRE 1.6.0_21.
1. Copy the media and when you try to run the setup.exe it will try to extract the Vendor Supplied .MSI with a random number under %temp% folder, note that only a Vendor .msi will be extractred but when you to run that it will ask you to point Data.cab file. You can get both Vendor msi with cab file under user specific AppDataFolder.
2. You can create a customized transform for the extracted .msi.
3. Couple of postings related to the Properties settings available customize as per your requirements.
4. For suppressing the JavaUpdates plese follow the below steps;
a) Though you made changes to the Vendor .MSI by changing the EnableJavaUpdates from "1" to "0" still it will try to overwrite at the End of Installation.
b) you can create a Custom Action(CA) by Path Referencing Directory and under Command Line the following parameters: "cmd.exe /c %windir%\System32\reg.exe ADD "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f"
Plese note that, place the CA just before InstallFinalize. Doing this will try to overwrite the value before the Installation completes.
c) Note that application don't put entry under ControlPanel->Java(32)->Java->View tab, ONLY if we install on top of same version with lower update(eg., JRE1.6.0_15 etc)

**This is my First posting pls excuse Typos**
Thanks,
VD
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Java Runtime Environment (Update 6)

Version

1

Questions & Answers (9)

Questions & Answers related to Oracle Java Runtime Environment (Update 6)

1
ANSWERS
28
ANSWERS
5
ANSWERS
13
ANSWERS
4
ANSWERS
1
ANSWERED

Blogs (0)

Blog posts related to Oracle Java Runtime Environment (Update 6)

Reviews (0)

Reviews related to Oracle Java Runtime Environment (Update 6)