Views: 23k  |  Created: 11/02/2007

Average Rating: 0
JAVA has 22 inventory records, 88 Questions, 14 Blogs and 11 links. Please help add to this by sharing more!

Deployment Tips (14)

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 with Custom Transform (MST)
or cancel
8
Command Line
Due to issues with Java partially installing (even when run with ESD with the systems logged off) the following script was used to work around this (also run logged off to avoid open IE sessions):

rem Installs requires certs if not already installed - This is only necessary for environments that don't get root certs via another method
certutil -f -addstore root VeriSignRootExp5182018.cer
certutil -f -addstore root VeriSignRootExp8012028.cer

rem This is done to repair a corrupted install to allow for uninstall - May not be an issue if you do not currently have this condition
COPY /Y "%~dp0regutils.dll" "C:\Program Files\Java\jre6\bin"

rem Uninstall 6_29 - Any uninstal could be here
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216029FF} /quiet /norestart

rem Ensure Uninstall removes directory - this appears to be a key step
rd /s /q "C:\Program Files\Java\jre6"

rem Installs JRE with automatic updates turned off
msiexec /i "%~dp0jre1.6.0_30.msi" /qn REBOOT=Suppress IEXPLORER=1 AUTOUPDATECHECK=0 JU=0 AU=0
REG ADD "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f
REG ADD "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v EnableAutoUpdateCheck /t REG_DWORD /d 0 /f
REG ADD "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v NotifyDownload /t REG_DWORD /d 0 /f
REG ADD "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v NotifyInstall /t REG_DWORD /d 0 /f
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
5
Command Line
Silent install:
32 bit
jre-6u27-windows-i586.exe /s /v/qn
64 bit
jre-6u27-windows-x64.exe /s /v/qn

Exe's found on Oracle Download
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Command Line
For Java(TM) 6 Update 30 (64-bit) 6.0.300 I used the following...

Full Command Line: jre-6u30-windows-x64.exe /s /v "/qn ADDLOCAL=ALL IEXPLORER=1 JAVAUPDATE=0
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
2
Note
To get MSI Source for Java 6.27 you have to execute the setup file.

Pick up the MSI files from %AppData%\Sun\...
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
2
Command Line
jre-6u27-windows-i586.exe isn't going to work in Windows 7 64-bit, running as the System user. The installer gets C:\Windows\system32\config\systemprofile and C:\Windows\SysWOW64\config\systemprofile mixed up. Find the folder where the msi is extracted, and install that manually:

msiexec /i jre1.6.0_27.msi /qn
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
Mixed Mode Security Setting

-This setting can be changed be creating/editing a .MST file or by editing the deployment.properties file.

-When editing the .MST file with Windows Installer Editor, go to "Properties" and create a new property called "deployment.security.mixcode". Set the value based on your needs. The options on what values to pick are here (http://docs.oracle.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html).

"ENABLE"
"HIDE_RUN"
"HIDE_CANCEL"
"DISABLE"

-The link also shows you how to modify the deployment.properties file.

-Please note there are two different locations for the deployment.properties file. One for user settings and another for system level settings.

-Please note creating a Java x86 package will work for both
x86 and x64 systems but if you install the package (x86) on a x64 system not all of the settings in your .MST file will stick. (i.e. Mixed Mode Security Settings)
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
Do not install the msi of the same java version twice. It will break the install and you'll have to copy regutils.dll to jre6\bin again to uninstall it. I recommend something like:

reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216030FF}
if errorlevel 1 start /wait msiexec.exe /i jre1.6.0_30.msi /qb /log install.log

The .exe installer will not work in win 7 64 bit run as the System user.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

For Windows 7 and Oracle Java 6 Update 41 I found the files in the following location

C:\Users\<User>\AppData\LocalLow\Sun\Java\jre1.6.0_41

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
For Java(TM) 6 Update 30 6.0.300 I used the following...

Full Command Line: msiexec /i jre1.6.0_30.msi /quiet
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
For Java(TM) 6 Update 30 (64-bit) 6.0.300 I used the following...

Full Command Line: MsiExec.exe /quiet /X{26A24AE4-039D-4CA4-87B4-2F86416030FF}
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
For Java(TM) 6 Update 30 6.0.300 I used the following...

Full Command Line: MsiExec.exe /quiet /X{26A24AE4-039D-4CA4-87B4-2F83216030FF}
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
Easy and good silent...

- Run firstly jre-6u31-windows-i586-s.exe
- Click "Install" button and after dont click "Next" button.
- Now, dont close setup window and open "%APPDATA%\Sun\Java\jre1.6.0_31" directory
- Copy jre1.6.0_23.msi and Data1.cab files
- And thats batch commands

msiexec.exe /i jre1.6.0_31.msi" /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 MODIFYREMOVE=modify
"C:\Program Files\Java\jre6\bin\jqs.exe" -unregister
regedit /s settings.reg
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
%AppData% took me to C:\Users\[username]\AppData\Roaming in Windows 7.

I found the Java MSI by browsing to C:\Users\[username]\AppData\Local\Sun\.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
Looks like running that msi twice breaks the java install. It will still be listed in Programs and Features, but the folder C:\Program Files(x86)\Java\jre6\bin\ will be practically empty.

Put regutils.dll back in the bin directory, then you can uninstall or upgrade it.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (22)

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

JAVA

Version

6.0.210

Contact

http://java.com

Readme

C:\Program Files\Java\jre6\README.txt

Uninstall String

MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216021FF} MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216021F0}

Questions & Answers (88)

Questions & Answers related to Oracle JAVA

67
ANSWERS
3
ANSWERED
3
ANSWERS
2
ANSWERS
1
ANSWERS
6
ANSWERED
5
ANSWERED
2
ANSWERS
1
ANSWERS
3
ANSWERED
1
ANSWERS
5
ANSWERS
5
ANSWERS
6
ANSWERS

Reviews (0)

Reviews related to Oracle JAVA