tdevropa-test

Install/Upgrade: Oracle Java Runtime Environment JRE 7 Update 51 (32-bit) - Windows x86, Windows x64
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Install/Upgrade: Oracle Java Runtime Environment JRE 7 Update 51 (32-bit) - Windows x86, Windows x641/16/2014 2:50:34 PM
2Install/Upgrade: Oracle Java Runtime Environment JRE 7 Update 51 (32-bit) - Windows x86, Windows x642/7/2014 2:41:04 PM
3Install/Upgrade: Oracle Java Runtime Environment JRE 7 Update 51 (32-bit) - Windows x86, Windows x643/3/2014 9:37:41 AM

Description

About Java Runtime Environment (JRE)

The Java Runtime Environment (JRE) is a free execution environment developed by Oracle for Java applications and applets.

Licensing

JRE is freeware.

About This Task

This task will install/upgrade: Oracle Java Runtime Environment JRE 7 update 51 (32-bit).

This task is applicable on: Windows XP, Windows XP x64, Windows Vista, Windows Vista x64, Windows 7, Windows 7 x64, Windows 8 and Windows 8 x64.

Action Description

Important note: Any running web browsers or Java applications should be terminated before installing this update. ( except for action 3, which will close them automatically)

  • Action1: Install/upgrade and disable auto-updates.

This action installs the Java Runtime Environment (JRE) and disables Java Updates.

  • Action2: Install/upgrade only if JRE, Internet Explorer, and Firefox are not running and disable auto-updates.

This action installs the Java Runtime Environment (JRE) only if it, Internet Explorer, and Firefox are not running; if one of these applications is running, the action may report back as failed. To ensure that the update is eventually applied, you may want to the deploy this action as a policy and configure the installation to retry if it fails.

  • Action3: Install/upgrade regardless of whether or not JRE, Internet Explorer, and Firefox are currently running and disable auto-updates.

This action installs the Java Runtime Environment (JRE) regardless of whether or not it, Internet Explorer, and Firefox are running, then installs the newer version. Use this action ensure that the update is applied when the action is deployed.

Important note: This action will close any running instances of JRE, Internet Explorer, and Firefox on the client machines. Please schedule the update to occur at a time when such a service interruption is acceptable.

Important Note

This task only upgrades Java Runtime Environment (JRE) 7 (e.g., JRE 7uX will upgrade, but JRE 6uX will not). Multiple, newer, or older versions of JRE may be installed on client machines at the same time; however, this is generally not recommended. The fixlet "Multiple JRE Versions Installed" (ID 7052001) can be used to uninstall older versions of JRE before using this task.

The 32-bit version of JRE is required for and only works with 32-bit browsers. 64-bit systems with 32-bit browsers will also need the 32-bit version of JRE.


Property Details

ID3723
StatusBeta - Preliminary testing ready for more
TitleInstall/Upgrade: Oracle Java Runtime Environment JRE 7 Update 51 (32-bit) - Windows x86, Windows x64
DomainBESC
CategorySoftware Sharing
Download Size29141928
SourceSysMan
Source IDjgs194
Source Release Date1/16/2014 12:00:00 AM
Added by on 3/3/2014 9:37:41 AM
Last Modified by on 3/3/2014 9:37:41 AM
Counters 9791 Views / 114 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Windows Only (Relevance 2997197)
Used in 6448 fixlets and 32 analyses * Results in a true/false
Show indented relevance
/* Windows Only */ windows of operating system
Used in 12 fixlets * Results in a true/false
Show indented relevance
/* WinXP or later */ version of operating system >= "5.1"
Used in 2 fixlets * Results in a true/false
Show indented relevance
not (( /* Check if JAVA is installed */ exists key whose (value "DisplayName" of it as string contains "Java 7" AND (it >= "7.0.510" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry) AND (12 = /* There should be 12 JAR files, if not then Java has an issue */ (number of files whose(name of it as lowercase ends with ".jar") of folders "Java\jre7\lib" of (if (x64 of operating system) then (folders "C:\Program Files (x86)") else (folders "C:\Program Files")))))

Actions

Action 1 (default)

Action Link Install/upgrade and disable auto-updates.
Script Type tdevropa-test Action Script
// Note: update .exe will restart service automatically
if {exists running service "JavaQuickStarterService"}
delete __appendfile
delete stop_javaquickstarter.bat
appendfile net stop JavaQuickStarterService
move __appendfile stop_javaquickstarter.bat
waithidden stop_javaquickstarter.bat
endif

if {exists running application whose (name of it as lowercase = "jusched.exe")}
waithidden taskkill /F /T /IM jusched.exe
pause while {exists running application "jusched.exe"}
endif

// Download JAVA installer - using same cached copy as the IBM fixlets
prefetch jre-windows-i586.exe sha1:72aa32f97a0ddd306d436ac3f13fabb841b94a76 size:29141928 http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/jre-7u51-windows-i586.exe

// Delete log file if it exists
delete "{(pathname of folder "__BESData\__Global\Logs" of parent folder of client) & "\software_java32.txt"}"

//install java runtime environment (IEXPLORER=1: register as default Java VM for IE, MOZILLA=1: register with Mozilla-based browsers, JAVAUPDATE=0: disable Java Update)
waithidden __Download/jre-windows-i586.exe /s /norestart /v"IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /L*v \"{(pathname of folder "__BESData\__Global\Logs" of parent folder of client) & "\software_java32.txt"}\""

action may require restart "72aa32f97a0ddd306d436ac3f13fabb841b94a76"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Install/upgrade only if JRE, Internet Explorer, and Firefox are not running and disable auto-updates.
Script Type tdevropa-test Action Script
continue if {(not exists running applications whose((it = "firefox.exe" OR it = "iexplore.exe" OR it = "java.exe" OR it = "javaw.exe" OR it = "javaws.exe") of (name of it as lowercase)))}

// Note: update .exe will restart service automatically
if {exists running service "JavaQuickStarterService"}
delete __appendfile
delete stop_javaquickstarter.bat
appendfile net stop JavaQuickStarterService
move __appendfile stop_javaquickstarter.bat
waithidden stop_javaquickstarter.bat
endif

if {exists running application whose (name of it as lowercase = "jusched.exe")}
waithidden taskkill /F /T /IM jusched.exe
pause while {exists running application "jusched.exe"}
endif

// Download JAVA installer - using same cached copy as the IBM fixlets
prefetch jre-windows-i586.exe sha1:72aa32f97a0ddd306d436ac3f13fabb841b94a76 size:29141928 http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/jre-7u51-windows-i586.exe

// Delete log file if it exists
delete "{(pathname of folder "__BESData\__Global\Logs" of parent folder of client) & "\software_java32.txt"}"

//install java runtime environment (IEXPLORER=1: register as default Java VM for IE, MOZILLA=1: register with Mozilla-based browsers, JAVAUPDATE=0: disable Java Update)
waithidden __Download/jre-windows-i586.exe /s /norestart /v"IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /L*v \"{(pathname of folder "__BESData\__Global\Logs" of parent folder of client) & "\software_java32.txt"}\""

action may require restart "72aa32f97a0ddd306d436ac3f13fabb841b94a76"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Install/upgrade regardless of whether or not JRE, Internet Explorer, and Firefox are running and disable auto-updates.
Script Type tdevropa-test Action Script
//close any running instance of Java, Internet Explorer, or Firefox
if {exists running application whose (name of it as lowercase = "java.exe")}
waithidden taskkill /F /T /IM java.exe
pause while {exists running application "java.exe"}
endif
if {exists running application whose (name of it as lowercase = "javaw.exe")}
waithidden taskkill /F /T /IM javaw.exe
pause while {exists running application "javaw.exe"}
endif
if {exists running application whose (name of it as lowercase = "javaws.exe")}
waithidden taskkill /F /T /IM javaws.exe
pause while {exists running application "javaws.exe"}
endif
if {exists running application whose (name of it as lowercase = "iexplore.exe")}
waithidden taskkill /F /T /IM iexplore.exe
pause while {exists running application "iexplore.exe"}
endif
if {exists running application whose (name of it as lowercase = "firefox.exe")}
waithidden taskkill /F /T /IM firefox.exe
pause while {exists running application "firefox.exe"}
endif
pause while {exists running application "java.exe" OR exists running application "javaw.exe" OR exists running application "javaws.exe" OR exists running application "iexplore.exe" OR exists running application "firefox.exe"}

// Note: update .exe will restart service automatically
if {exists running service "JavaQuickStarterService"}
delete __appendfile
delete stop_javaquickstarter.bat
appendfile net stop JavaQuickStarterService
move __appendfile stop_javaquickstarter.bat
waithidden stop_javaquickstarter.bat
endif

if {exists running application whose (name of it as lowercase = "jusched.exe")}
waithidden taskkill /F /T /IM jusched.exe
pause while {exists running application "jusched.exe"}
endif

// Download JAVA installer - using same cached copy as the IBM fixlets
prefetch jre-windows-i586.exe sha1:72aa32f97a0ddd306d436ac3f13fabb841b94a76 size:29141928 http://download.oracle.com/MANUAL_BES_CACHING_REQUIRED/jre-7u51-windows-i586.exe

// Delete log file if it exists
delete "{(pathname of folder "__BESData\__Global\Logs" of parent folder of client) & "\software_java32.txt"}"

//install java runtime environment (IEXPLORER=1: register as default Java VM for IE, MOZILLA=1: register with Mozilla-based browsers, JAVAUPDATE=0: disable Java Update)
waithidden __Download/jre-windows-i586.exe /s /norestart /v"IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /L*v \"{(pathname of folder "__BESData\__Global\Logs" of parent folder of client) & "\software_java32.txt"}\""

action may require restart "72aa32f97a0ddd306d436ac3f13fabb841b94a76"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.



Comments

Log In or Register to leave comments!
jgstew -
I have corrected and optimized the relevance for the continue if statement in Action 2 here: /relevance/details/2998758 (i'll upload a corrected version)
jgstew -
Thanks baiyf, good catch.
baiyf -
Action 2, first statement (continue if): the 'OR's should be 'AND's

Recommended Articles

hp universal printing pcl 5 v5 7.0 what is msxml 4.0 sp2 what is compatibility pack for the 2007 office system current mcafee dat version msxml 4.0 sp2 download java 1.7 jre mac uninstall trend micro security agent hp upd driver office for mac 2011 download dmg powershell 2.0 xp upgrading symantec endpoint protection manager hyperion smartview download symantec endpoint definitions download