Java Runtime Environment (Update 6) 1.x
Company: Sun Microsystems, Inc.
Setup Type: Native Windows Installer setup (MSI)
Package Difficulty Rating: Somewhat Easy (2) [ Rate It or View Ratings ]
Most Commonly Reported Method: Windows Installer Command Line (No MST)
Record Created On: 10/1/2007
Number of Views: 26,864
 
  
 
Software Knowledge Base: The software knowledge base contains details on over 60,000. The closest record matching this software package is displayed here. Browse the Software KB directly to find similar records.

No record in the Software KB was found to match this package.

 
 
Command Lines: Command line details for installation and removal of this software. Details may include available command line arguments and/or public properties.

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

Above Entry Provided on 6/18/2009 by jigga_what
Rate It
Rating
3
 
 
Notes: Shared "notes from the field" covering how to handle the automated installation of this software.

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.

Above Entry Provided on 5/25/2007 by bbowen8
Rate It
Rating
149

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.

Above Entry Provided on 7/17/2007 by paul.strange
Rate It
Rating
144

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).

Above Entry Provided on 3/12/2009 by slanning
Rate It
Rating
10

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

Above Entry Provided on 6/9/2009 by 97marno
Rate It
Rating
1

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

Above Entry Provided on 9/11/2009 by hyperlite1215
Rate It
Rating
2

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.

Above Entry Provided on 11/20/2009 by BeckhamTX
Rate It
Rating
1

Windows 7 x86 and x64

Here the path to find your msi:

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

;-)

Above Entry Provided on 4/21/2010 by garftermy
Rate It
Rating
3

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

Above Entry Provided on 6/8/2010 by ibroadbent
Rate It
Rating
1
 
 
Virtualization: Information regarding how to work with this software in creating a virtual deployment package for products like Altiris SVS and Microsoft SoftGrid.

No information at this time. Discuss this package in the forum or click here if you have something to contribute!

 
 
Terminal Services: Notes on how to address problems working with this software in a Terminal Services session as with Citrix shared environments.

No information at this time. Discuss this package in the forum or click here if you have something to contribute!

 
 
Related Links: Additional resources to reference in regards to the deployment and configuration of this software.
 
Security Information: Details covering which files, directories and/or registry entries must be opened to standard users for operation in a locked down environment.

No information at this time. Discuss this package in the forum or click here if you have something to contribute!

 
 
Discussion threads: Discussion topics in the AppDeploy message boards that have been linked as relevant information to this entry.

 


Report a problem
  Printer Friendly Version