Oracle Java Runtime Environment

Views: 8.9k  |  Created: 08/16/2012 by: bkelly

Average Rating: 0
Java Runtime Environment has 0 inventory records, 61 Questions, 7 Blogs and 19 links. Please help add to this by sharing more!

Deployment Tips (11)

Most Common Setup Type
Windows Installer (MSI)
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 4 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
or cancel
1
Command Line

The simplest way is to use the EXE file straight from the website:

jre-7u11-windows-i586.exe /s AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 Mozilla=1

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Script
REM JAVA Uninstall and cleanup script for through Java 1.7.u11 
REM with install of Java 1.7.u11 x86 and X64 in Mixed Environment
REM Calls removal of Java Autoupdate after install
REM Skips Removal of versions of Java 1.6.x if SAS is detected
REM These can be removed if your environment does not use SAS or uses built in Java for SAS
REM Requires x86 and x64 JRE Executables and x86 MSI files to install x86 Java on x64
REM MSI files can be located in
REM C:\Documents and Settings\<install user>\Application Data\Sun\Java\<version> or
REM C:\Users\<install user>\Appdata\locallow\Sun\Java\<Version>
REM after install to a workstation preferably 32-bit
REM written for use in SCCM 2007, but will likely work elsewhere
REM Written by David Nelson, Computer Professional, CSBS Computing, University of Utah
REM 2012-2013
@ECHO OFF

REM Close all open web browsers

:killfirefox
	taskkill /f /t /im firefox.exe
	tasklist /FI "IMAGENAME eq firefox.exe" 2>NUL | find /I /N "firefox.exe">NUL
	if "%ERRORLEVEL%"=="0" GOTO killfirefox
	

:killiexplore
	taskkill /f /t /im iexplore.exe
	tasklist /FI "IMAGENAME eq iexplore.exe" 2>NUL | find /I /N "iexplore.exe">NUL
	if "%ERRORLEVEL%"=="0" GOTO killiexplore


:killchrome
	taskkill /f /t /im chrome.exe
	tasklist /FI "IMAGENAME eq chrome.exe" 2>NUL | find /I /N "chrome.exe">NUL
	if "%ERRORLEVEL%"=="0" GOTO killchrome

REM Close all JAVA Background Processes


:killjusched
	taskkill /f /t /im jusched.exe
	tasklist /FI "IMAGENAME eq jusched.exe" 2>NUL | find /I /N "jusched.exe">NUL
	if "%ERRORLEVEL%"=="0" GOTO killjusched	

:killjucheck
	taskkill /f /t /im jucheck.exe
	tasklist /FI "IMAGENAME eq jucheck.exe" 2>NUL | find /I /N "jucheck.exe">NUL
	if "%ERRORLEVEL%"=="0" GOTO killjucheck

:killjqs
	taskkill /f /t /im jqs.exe
	tasklist /FI "IMAGENAME eq jqs.exe" 2>NUL | find /I /N "jqs.exe">NUL
	if "%ERRORLEVEL%"=="0" GOTO killjqs
	

REM Silent Uninstallers

REM 64bit
REM 1.6.00 - 1.6.37 
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416000FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416001FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416002FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416003FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416004FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416005FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416006FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416007FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416008FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416009FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416010FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416011FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416012FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416013FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416014FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416015FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416016FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416017FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416018FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416019FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416020FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416021FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416022FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416023FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416024FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416025FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416026FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416027FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416028FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416029FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416030FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416031FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416032FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416033FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416034FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416035FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416036FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86416037FF}
REM 1.7.00 - 1.7.11
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417000FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417001FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417002FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417003FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417004FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417005FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417006FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417007FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417008FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417009FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417010FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F86417011FF}

REM 32bit
REM 1.4.2 - 1.4.2_19
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142000}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142010}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142020}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142030}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142040}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142050}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142060}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142070}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142080}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142090}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142100}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142110}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142120}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142130}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142140}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142150}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142160}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142170}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142180}
msiexec.exe /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142190}
REM 1.5.00 - 1.5.22
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150000}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150010}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150020}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150030}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150040}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150050}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150060}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150070}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150080}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150090}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150100}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150110}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150120}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150130}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150140}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150150}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150160}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150170}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150180}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150190}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150200}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150210}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0150220}

REM Below lines can be REMed if your environment does not need it
REM Check to Skip Java 1.6x uninstall if SAS exists
If exist "c:\Program Files\SAS\NUL" GOTO skipjava16x86uninst

If exist "c:\Program Files (x86)\SAS\NUL" GOTO skipjava16x86uninst
REM Above lines can be REMed

REM 1.6.00 - 1.6.37
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160000}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160010}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160020}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160030}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160040}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160050}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160060}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160070}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160080}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160090}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160100}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160110}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160120}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160130}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160140}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160150}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160160}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160170}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160180}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160190}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160200}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160210}
msiexec.exe /qn /norestart /x {3248F0A8-6813-11D6-A77B-00B0D0160220}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216023FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216024FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216025FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216026FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216027FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216028FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216029FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216030FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216031FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216032FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216033FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216034FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216035FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216036FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216037FF}

REM Below line can be REMed if your environment does not need it
:skipjava16x86uninst

REM 1.7.00 - 1.7.11
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217001FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217002FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217003FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217004FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217005FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217006FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217007FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217008FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217009FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217010FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83217011FF}


REM Cleanup Java Auto Updater for Windows 7
IF EXIST C:\Windows\Installer\1160852.msi (
	msiexec.exe /qn /norestart /x  C:\Windows\Installer\1160852.msi
)
IF EXIST C:\Users\Default\AppData\LocalLow\Sun\Java\AU\au.msi (
	msiexec /x C:\Users\Default\AppData\LocalLow\Sun\Java\AU\au.msi /qn /norestart
)	

REM WMIC cleanup if 
Start /wait wmic product where "name like 'Java%' and not name like '%SE%'" call uninstall

REM Java Executable Silent Install

REM SET MSIArgs=/qn /norestart REBOOT=ReallySuppress
REM SET MSIComp=ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 WEBSTARTICON=0
REM Checks for a 64-bit environment and installs x64 then x86 Java
REM Otherwise assumes 32 bit and installs x86 Java in x86 environment
REM Extracted 32 bit MSI files required for silent install on x64 machines
REM due to a known incompatibility between 32 bit executable silent switch on x64 machines 

IF EXIST "%ProgramFiles(x86)%" (
   START /WAIT jre-7u11-windows-x64.exe /s /v"/passive /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEBSTARTICON=0 EULA=0 SYSTRAY=0"
   START /WAIT msiexec /qn /i jre1.7.0_11.msi /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEBSTARTICON=0 EULA=0 SYSTRAY=0
) ELSE (
   START /WAIT jre-7u11-windows-i586.exe /s /v"/passive /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEBSTARTICON=0 EULA=0 SYSTRAY=0"
)

REM Uninstall Java Autoupdater
wmic product where "name like 'Java%Auto%'" call uninstall

REM Return exit code to SCCM
exit /B %EXIT_CODE%
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
  • Do you have the uninstall keys for 1.7.00 - 1.7.76 ?
    • :: 1.7.00 - 1.7.79
      echo Uninstalling Java 1.7.00 - 1.7.79 x64
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417000FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417001FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417002FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417003FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417004FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417005FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417006FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417007FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417009FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417010FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417011FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417013FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417015FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417017FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417021FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417025FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417040FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417045FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417051FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F86417055FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417060FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417065FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417067FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417071FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417072FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417075FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417076FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417079FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F06417080FF} /norestart 1>NUL 2>NUL

      :: 1.7.00 - 1.7.79
      echo Uninstalling Java 1.7.00 - 1.7.79 x86
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217001FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217002FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217003FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217004FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217005FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217006FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217007FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217009FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217010FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217011FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217013FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217015FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217017FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217021FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217025FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217040FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217045FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217051FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83217055FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217060FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217065FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217067FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217071FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217072FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217075FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217076FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217079FF} /norestart 1>NUL 2>NUL
      start "" /wait msiexec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F03217080FF} /norestart 1>NUL 2>NUL
Please log in to comment
0
Command Line

Silent install Command Line against Executable passing info to the embeded MSI.

For x64 executable. 

jre-7u11-windows-x64.exe /s /v"/passive /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEBSTARTICON=0 EULA=0 SYSTRAY=0"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
Silent install Command Line against Executable passing info to the embeded MSI.
For x86 executable, not for use under x64 OS. x86 Java on x64 OS requires MSI install. 
jre-7u11-windows-i586.exe /s /v"/passive /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEBSTARTICON=0 EULA=0 SYSTRAY=0"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line

MSI Silent install of Java for x86 Java

Will work on x86 systems and x64 systems. MSI install required for installing x86 Java on x64 systems
Due to compatibility problems with silent installing the x86 executable on x64 system. Silent installs
will cause the x86 EXE to fail on x64 systems.

msiexec /qn /i jre1.7.0_11.msi /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEBSTARTICON=0 EULA=0 SYSTRAY=0 

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

Create a transform with Orca. Change the following values:

  • Property - AutoUpdateCheck = 0
  • Property - Iexplorer = 1
  • Property - JavaUpdate = 0
  • Property - Mozilla = 1
  • Property - AgreeToLicense = Yes (this needs to be added to the property table to supress the EULA)

 

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line

msiexec.exe /i "[location of msi file]\jre1.7.0_07.msi" TRANSFORMS="[location of mst file]\[name of mst file]" /l*v "[location of where to write log file]\java.log" /qb!

This will install Java silently with the options setup in the mst file that was detailed in notes.  And below.

Create a transform with Orca. Change the following values:

    • Property - AutoUpdateCheck = 0

 

    • Property - Iexplorer = 1

 

    • Property - JavaUpdate = 0

 

    • Property - Mozilla = 1

 

    • Property - AgreeToLicense = Yes (this needs to be added to the property table to supress the EULA)

 

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

As of Java 7 update 10 there are 2 new properties:

WEB_JAVA and WEB_JAVA_SECURITY_LEVEL. On MSI Installs I have added a transform that adds both properties to the Properties page with the values:

WEB_JAVA = 1

WEB_JAVA_SECURITY_LEVEL = H (or VH)

 

On the MSI install I also have added WEB_JAVA=1 and it now seems to install the web java. I was having issues before, where it was not allowing web plugins. I do not know which one made it work, but it now works in web browsers.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

The registry key to tick "Suppress sponsor offers when installing or updating Java" appears to have changed in recent releases.

Here's what I include as part of my install to get this set.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JreMetrics]
"DisableSponsors"="Y"

 

Setup Information:
Setup Type: Windows Installer (MSI)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

To disable the expiration check, create a file called deployment.properties, with the following contents:

deployment.expiration.check.enabled=false

Copy this file to C:\Program Files (x86)\Java\jre7\lib

 

The documentation said to create a file in the user profile and point to it from another file from c:\windows\sun...., but this works too, at least for us, and allows us to do this simply, per-machine.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line

An easy day at the office, having just finished one 'easy app' they want another, Java, "the static one please". I am supplied with an EXE and an MSI,

Run the MSI it is going to:

C:\Program Files (x86)\Java\jre7

 

So NOT a static install, they want a static (private) install so it doesn't rip the other version of Java off (I think it might be 1.7.28 or 42 or something)

Here is how to get the static install:

Run the jre-7u76-windows-i5866.exe file with STATIC=1, no other switches.

 

The dialogues still imply that the MSI is not static, whilst you have the Welcome dialogue showing (don’t click next or Install)

Copy the extracted MSI from : %UserProfile%\AppData\LocalLow\Sun\Java\jre1.7.0_76

 

Now cancel the EXE that is running, and launch the extracted MSI (Created from the exe with the STATIC=1 switch)

Now check the install location is: C:\Program Files (x86)\Java\jre1.7.0_76\

 

So, we have a static or private installation of Java. What makes it static???

I am used to the phrase, public and private, not to be confused with MSI properties, but Private or static, is in a version specific subfolder and is left alone. The Public one, or 'not static', goes into generic version folder, like jre7 or jre6. If any other family version of the java install arrives, only higher versions will be successful and the earlier version (in the same family, 1.6 or 1.7 etc) will be removed.

 

Comparing the two MSIs.. (using MSI Diff) here are the tables that changed:

 

Table

Non static info

Static info

Summary

Information

PackageCode:

{A6DE4430-7FB6-49C5-BEEF-E9406D21CD9A}

PackageCode:

{36BEDD1E-5F35-4284-A34C-0F70AC4F4501}

binary

All binary items listed as modified

All binary items listed as modified

Component

jz                {994E7530-5AD1-41FF-9F16-B5332170F760}

jp                {994E7530-5AD1-41FF-9F16-B5532170F760}

consumer        {994E7530-5AD1-41FF-9F16-B5632170F760}        

Condition for the consumer Comp:

MODE<>"S"

jz                {994E7530-5AD1-41FF-9F16-B5332170A760}

jp                {994E7530-5AD1-41FF-9F16-B5532170A760}

consumer        {994E7530-5AD1-41FF-9F16-B5632170A760}

Condition for the consumer Comp:

MODE<>"S"

Directory

INSTALLDIR=  jre7

INSTALLDIR= JRE17~1.0_0|jre1.7.0_76

Property

ProductCode:

{26A24AE4-039D-4CA4-87B4-2F03217076FF}

ProductCode:

{26A24AE4-039D-4CA4-87B4-2F03217076F0}

 

UpgradeCode:

{57BDA5C6-443C-4D65-B233-2823932170FF}

UpgradeCode:
{57BDA5C6-443C-4D65-B233-282393217076}

 

MODE=C

MODE=S

 

So it would appear that there is a little bit more involved than just changing the MODE from C to S.

You could also make all the other changes using Orca, but  why not just use the STATIC=1 switch from the vendor EXE.

 

Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Windows Installer with Custom Transform (MST)
Deployment Difficulty: Very Easy
Platform(s): Windows
Please log in to comment

Inventory Records (0)

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

Versions

Questions & Answers (61)

Questions & Answers related to Oracle Java Runtime Environment

67
ANSWERS
1
ANSWERED
2
ANSWERS
6
ANSWERS
3
ANSWERED
1
ANSWERS
4
ANSWERS
6
ANSWERED
2
ANSWERS

Blogs (7)

Blog posts related to Oracle Java Runtime Environment

Reviews (0)

Reviews related to Oracle Java Runtime Environment