Home > Java, Mac administration, Mac OS X > MacJREInstaller and Oracle’s Java install application

MacJREInstaller and Oracle’s Java install application

Part of Oracle’s new install application for Java is a binary named MacJREInstaller. This application appears to be what installs Java and governs whether or not the Ask.com toolbar gets deployed.

Screen Shot 2015-03-06 at 4.00.10 PM

For context, MacJREInstaller appears to be the helper tool referenced when the Java install application prompts for admin privileges.

Screen Shot 2015-03-03 at 3.52.13 PM

Based on observation, when running the Java install application, MacJREInstaller appears to run the following tasks:

1. Checks to see if it can contact the internet

2. If it can contact the internet, checks back with Oracle to see what country it’s in. Oracle apparently is selective about which nations it wants to have the Ask.com browser settings and toolbar installed (thanks to a Canadian colleague’s testing, it appears Canada is not one of the nations.)

3. If it determines the Mac in question is in a country where Oracle wants to deploy the Ask.com browser settings and toolbar, a Sponsors.framework.tar file is downloaded to the Mac and uncompressed into /Users/username/Library/Application Support.

Screen Shot 2015-03-06 at 5.04.28 PM

4. Determines which web browser is set as the Mac’s default web browser.

5. Displays the choice for whether or not to install the Ask.com browser settings and toolbar.

Note: By default, the option to install the Ask.com browser settings and toolbar is selected. The person running the install application must uncheck the appropriate checkbox or checkboxes to opt out.

Screen Shot 2015-03-03 at 3.52.38 PM

6. Depending on whether the Ask.com browser settings and toolbar have been chosen for installation, the following actions take place:

If installation of the Ask.com browser settings and toolbar is selected:

A. The Ask.com browser settings and toolbar for the Mac’s default web browser are installed using a tool called APNSetup, which is included in the downloaded Sponsors.framework.

Screen Shot 2015-03-06 at 4.40.28 PM

B. The JavaAppletPlugin installer package stored within the Java install application is installed.

Screen Shot 2015-03-03 at 4.03.38 PM

C. MacJREInstaller checks back with Oracle again to see what country the Mac in question is in.

If installation of the Ask.com browser settings and toolbar is not selected:

A. The JavaAppletPlugin installer package stored within the Java install application is installed.

B. MacJREInstaller checks back with Oracle again to see what country the Mac in question is in.

Note: Even if the installation of the Ask.com browser settings and toolbar is not selected, the Sponsors.framework remains resident on the machine, in /Users/username/Library/Application Support.

7. Once the install process finishes, MacJREInstaller then exits.

For more details, see below the jump.

As part of my research, I’ve run MacJREInstaller from the command line and captured the output from running MacJREInstaller in the following scenarios:

A. Output from MacJREInstaller when installation of the Ask.com browser settings and toolbar is selected.

computername:~ username$ sudo /Volumes/Java\ 8\ Update\ 40/Java\ 8\ Update\ 40.app/Contents/MacOS/MacJREInstaller
2015-03-06 16:21:39.842 MacJREInstaller[608:10435] path: /var/root/Library/Application Support/JREInstaller
2015-03-06 16:21:39.844 MacJREInstaller[608:10435] —- INSTALL RUN |||| 03-06-2015 04:21:39 -0500
2015-03-06 16:21:39.844 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Download Staged XML from :https://javadl-esd-secure.oracle.com/update/1.8.0/mac-1.8.0_40-b25.xml
2015-03-06 16:21:40.105 MacJREInstaller[608:10435] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-06 16:21:40.112 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Arguments:(
"/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/MacOS/MacJREInstaller",
""
)
2015-03-06 16:21:40.112 MacJREInstaller[608:10435] Install Log: Type:Other Severity:Debug Message:Dictionary:{
}
2015-03-06 16:21:40.328 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.40.25
2015-03-06 16:21:40.329 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Current Installed Version:1.8.40.25
2015-03-06 16:21:40.329 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:Init MacPingEngine.
2015-03-06 16:21:40.330 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.40.25
2015-03-06 16:21:40.330 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:version to install: 1.8.40.25
2015-03-06 16:21:40.440 MacJREInstaller[608:10435] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-06 16:21:40.440 MacJREInstaller[608:10435] Install Log: Type:Other Severity:Debug Message:infoPlist:(null)
objc[610]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-06 16:21:41.990 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Before Install, Security Level is 0
2015-03-06 16:21:42.014 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Java 8 Update 40
2015-03-06 16:21:42.024 MacJREInstaller[608:10435] Install Log: Type:Install Severity:Debug Message:downloadSponsors https://javadl-esd-secure.oracle.com/update/1.8.0/sp-mac-1.8.0_40-b25/Sponsors.framework.tar
4aa85b08fabd3f292990b5d50ec2fe6a
2015-03-06 16:21:42.024 MacJREInstaller[608:10435] Install Log: Type:Install Severity:Debug Message:Inside begin download
2015-03-06 16:21:42.030 MacJREInstaller[608:10435] Install Log: Type:Install Severity:Debug Message:Download Started
2015-03-06 16:21:42.032 MacJREInstaller[608:10435] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
objc[612]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
objc[613]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-06 16:21:43.438 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:From Welcome Delegate
2015-03-06 16:21:43.442 MacJREInstaller[608:10435] Install Log: Type:Install Severity:Debug Message:Destination file created at:/var/root/Library/Application Support/Sponsors.framework.tar
2015-03-06 16:21:43.676 MacJREInstaller[608:10435] Install Log: Type:Install Severity:Debug Message:SPDownloader downloadDidFinish
x ./._Sponsors.framework
x Sponsors.framework/
x Sponsors.framework/Headers
x Sponsors.framework/Resources
x Sponsors.framework/Sponsors
x Sponsors.framework/._Versions
x Sponsors.framework/Versions/
x Sponsors.framework/Versions/._A
x Sponsors.framework/Versions/A/
x Sponsors.framework/Versions/Current
x Sponsors.framework/Versions/A/._Headers
x Sponsors.framework/Versions/A/Headers/
x Sponsors.framework/Versions/A/._Resources
x Sponsors.framework/Versions/A/Resources/
x Sponsors.framework/Versions/A/._Sponsors
x Sponsors.framework/Versions/A/Sponsors
x Sponsors.framework/Versions/A/Resources/._APNSetup.app
x Sponsors.framework/Versions/A/Resources/APNSetup.app/
x Sponsors.framework/Versions/A/Resources/._ASK.png
x Sponsors.framework/Versions/A/Resources/ASK.png
x Sponsors.framework/Versions/A/Resources/._ASK_FF.png
x Sponsors.framework/Versions/A/Resources/ASK_FF.png
x Sponsors.framework/Versions/A/Resources/._ASK_gc.png
x Sponsors.framework/Versions/A/Resources/ASK_gc.png
x Sponsors.framework/Versions/A/Resources/._ASK_safari.png
x Sponsors.framework/Versions/A/Resources/ASK_safari.png
x Sponsors.framework/Versions/A/Resources/._en.lproj
x Sponsors.framework/Versions/A/Resources/en.lproj/
x Sponsors.framework/Versions/A/Resources/._eula_en.txt
x Sponsors.framework/Versions/A/Resources/eula_en.txt
x Sponsors.framework/Versions/A/Resources/._Info.plist
x Sponsors.framework/Versions/A/Resources/Info.plist
x Sponsors.framework/Versions/A/Resources/._SponsorView.nib
x Sponsors.framework/Versions/A/Resources/SponsorView.nib
x Sponsors.framework/Versions/A/Resources/en.lproj/._InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/en.lproj/InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/APNSetup.app/._Contents
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/.__CodeSignature
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/_CodeSignature/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._Info.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Info.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._MacOS
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/MacOS/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._PkgInfo
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/PkgInfo
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._Resources
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ask-search-template.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ask-search-template.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ask-search-translation-dictionary.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ask-search-translation-dictionary.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ask-search.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ask-search.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._Base.lproj
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Base.lproj/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ChromeDatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ChromeDatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ChromeModelDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ChromeModelDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._DatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/DatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._DataDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/DataDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._en.lproj
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/en.lproj/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._Extensions.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Extensions.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._searchAskApp_ORJ-M.safariextz
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/searchAskApp_ORJ-M.safariextz
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._toolbar_ORJ-M@apn.ask.com.xpi
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/toolbar_ORJ-M@apn.ask.com.xpi
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/en.lproj/._InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/en.lproj/InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Base.lproj/._MainMenu.nib
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Base.lproj/MainMenu.nib
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/MacOS/._APNSetup
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/MacOS/APNSetup
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/_CodeSignature/._CodeResources
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/_CodeSignature/CodeResources
x Sponsors.framework/Versions/A/Headers/._Sponsors.h
x Sponsors.framework/Versions/A/Headers/Sponsors.h
x Sponsors.framework/Versions/A/Headers/._WindowsDefs.h
x Sponsors.framework/Versions/A/Headers/WindowsDefs.h
2015-03-06 16:21:43.818 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:Incoming response: <NSHTTPURLResponse: 0x7fdd824a3e40> { URL: http://rps-svcs.sun.com/services/countrylookup } { status code: 200, headers {
Connection = "keep-alive";
"Content-Length" = 267;
"Content-Type" = "text/html";
Country = US;
Date = "Fri, 06 Mar 2015 21:21:43 GMT";
Expires = "Fri, 06 Mar 2015 21:21:43 GMT";
"Mime-Version" = "1.0";
Server = AkamaiGHost;
} }
2015-03-06 16:21:43.818 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:country in NSString: US
2015-03-06 16:21:43.822 MacJREInstaller[608:10435] SP Options received:{
"COUNTRY_CODE" = US;
"SP_PREF" = XSP01;
}
2015-03-06 16:21:43.823 MacJREInstaller[608:10435] Inside get sponsor offer
2015-03-06 16:21:43.823 MacJREInstaller[608:10435] Locale detected:en
2015-03-06 16:21:43.824 MacJREInstaller[608:10435] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:43.882 APNSetup[618:10640] APNSetup build date Feb 10 2015, build time: 17:23:05
2015-03-06 16:21:43.884 APNSetup[618:10640] APNSetup arguments: (
"/var/root/Library/Application Support/Sponsors.framework/Resources/APNSetup.app/Contents/MacOS/APNSetup",
"-Mode",
OfferCheck
)
2015-03-06 16:21:43.942 APNSetup[618:10640] APNSetup exit: exit code 24
2015-03-06 16:21:43.943 MacJREInstaller[608:10435] Hex:24
2015-03-06 16:21:43.944 MacJREInstaller[608:10435] Offer:18
2015-03-06 16:21:43.944 MacJREInstaller[608:10435] HSB:1 LSB:8
2015-03-06 16:21:43.944 MacJREInstaller[608:10435] Show the offer for Apple Safari
2015-03-06 16:21:43.944 MacJREInstaller[608:10435] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:43.944 MacJREInstaller[608:10435] Framework:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:43.944 MacJREInstaller[608:10435] Target browser:Safari
2015-03-06 16:21:43.956 MacJREInstaller[608:10435] Inside awake from nib
2015-03-06 16:21:43.956 MacJREInstaller[608:10435] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:43.956 MacJREInstaller[608:10435] Framework:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:43.956 MacJREInstaller[608:10435] Display browser:Safari
2015-03-06 16:21:43.977 MacJREInstaller[608:10435] EULA err (null)
2015-03-06 16:21:43.981 MacJREInstaller[608:10435] Safari/Chrome is detected. Not showing Default Search checkbox.
2015-03-06 16:21:43.982 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Current Step:0
2015-03-06 16:21:44.932 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:From SP Delegate:1
2015-03-06 16:21:44.934 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Unlocking ContinueButton = <NSButton: 0x7fdd824a22c0>: 0
2015-03-06 16:21:48.098 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Continue Button Clicked
2015-03-06 16:21:48.098 MacJREInstaller[608:10435] InstallOptions:InstallOptions -Geo US -HomePage 1 -DefaultSearch 0 -TargetBrowser 16
2015-03-06 16:21:48.099 MacJREInstaller[608:10435] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:48.128 APNSetup[621:10660] APNSetup build date Feb 10 2015, build time: 17:23:05
2015-03-06 16:21:48.130 APNSetup[621:10660] APNSetup arguments: (
"/var/root/Library/Application Support/Sponsors.framework/Resources/APNSetup.app/Contents/MacOS/APNSetup",
"-Mode",
InstallOptions,
"-Geo",
US,
"-HomePage",
1,
"-DefaultSearch",
0,
"-TargetBrowser",
16
)
2015-03-06 16:21:48.267 APNSetup[621:10660] APNSetup exit: exit code 0
2015-03-06 16:21:48.269 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Ret Code from savepreferences:0
2015-03-06 16:21:48.283 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Installing JRE, Lock Continue Button
2015-03-06 16:21:48.283 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:ExecCmd:/usr/sbin/installer -pkg "/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/Resources/JavaAppletPlugin.pkg" -target /
2015-03-06 16:21:53.259 MacJREInstaller[608:10685] Install Log: Type:Network Severity:Debug Message:Response from Priviledged Helper: 0
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist: Operation already in progress
2015-03-06 16:21:53.279 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:From Ping Delegate
2015-03-06 16:21:53.280 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Unlocking ContinueButton = <NSButton: 0x7fdd824a22c0>: 0
2015-03-06 16:21:53.280 MacJREInstaller[608:10435] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 16:21:53.307 APNSetup[686:10928] APNSetup build date Feb 10 2015, build time: 17:23:05
2015-03-06 16:21:53.309 APNSetup[686:10928] APNSetup arguments: (
"/var/root/Library/Application Support/Sponsors.framework/Resources/APNSetup.app/Contents/MacOS/APNSetup",
"-Mode",
Install
)
2015-03-06 16:21:53.313 APNSetup[686:10928] APNSetup exit: exit code 0
2015-03-06 16:21:53.314 MacJREInstaller[608:10435] -Mode Install ret Code:0
2015-03-06 16:21:53.315 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:platformOS in NSString: 10.10.2
2015-03-06 16:21:53.340 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:Incoming response: <NSHTTPURLResponse: 0x7fdd825bd390> { URL: http://rps-svcs.sun.com/services/countrylookup } { status code: 200, headers {
Connection = "keep-alive";
"Content-Length" = 267;
"Content-Type" = "text/html";
Country = US;
Date = "Fri, 06 Mar 2015 21:21:53 GMT";
Expires = "Fri, 06 Mar 2015 21:21:53 GMT";
"Mime-Version" = "1.0";
Server = AkamaiGHost;
} }
2015-03-06 16:21:53.341 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:country in NSString: US
2015-03-06 16:21:53.341 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:XMLDocument
<?xml version="1.0" encoding="UTF-8" standalone="no"?><request><sc_xml_ver>1.0</sc_xml_ver><reportsuiteid>suninstallstat</reportsuiteid><visitorid>00000000000010008000000C29C27050</visitorid><prop21>00000000000010008000000C29C27050</prop21><prop20>******</prop20><pagename>ic</pagename><evar2>1.8.40.25</evar2><evar3>1.8.40.25</evar3><evar6>10.10.2</evar6><evar7>joff</evar7><evar8>US</evar8><evar24>0</evar24><evar25>0</evar25><events>event6,event7</events><products>jre|0,;XSP01|0;;;;event7=1</products></request>
2015-03-06 16:21:53.342 MacJREInstaller[608:10435] Install Log: Type:Ping Severity:Debug Message:Ping return 1
2015-03-06 16:21:53.346 MacJREInstaller[608:10685] Install Log: Type:Network Severity:Debug Message:Calling performSelectorOnMainThread to set jre install code as 0
2015-03-06 16:21:53.350 MacJREInstaller[608:10435] Install Log: Type:Network Severity:Debug Message:Calling setJREInstallCode with 0

view raw
gistfile1.txt
hosted with ❤ by GitHub

B. Output from MacJREInstaller when installation of the Ask.com browser settings and toolbar is not selected.

computername:~ username$ sudo /Volumes/Java\ 8\ Update\ 40/Java\ 8\ Update\ 40.app/Contents/MacOS/MacJREInstaller
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
2015-03-06 12:29:57.283 MacJREInstaller[485:5546] path: /var/root/Library/Application Support/JREInstaller
2015-03-06 12:29:57.289 MacJREInstaller[485:5546] —- INSTALL RUN |||| 03-06-2015 12:29:57 -0500
2015-03-06 12:29:57.290 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Download Staged XML from :https://javadl-esd-secure.oracle.com/update/1.8.0/mac-1.8.0_40-b25.xml
2015-03-06 12:29:57.515 MacJREInstaller[485:5546] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-06 12:29:57.521 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Arguments:(
"/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/MacOS/MacJREInstaller",
""
)
2015-03-06 12:29:57.522 MacJREInstaller[485:5546] Install Log: Type:Other Severity:Debug Message:Dictionary:{
}
2015-03-06 12:29:57.979 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.31.13
2015-03-06 12:29:57.979 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Current Installed Version:1.8.31.13
2015-03-06 12:29:57.979 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:Init MacPingEngine.
2015-03-06 12:29:57.981 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.31.13
2015-03-06 12:29:57.981 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:version to install: 1.8.40.25
2015-03-06 12:29:58.164 MacJREInstaller[485:5546] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-06 12:29:58.165 MacJREInstaller[485:5546] Install Log: Type:Other Severity:Debug Message:infoPlist:(null)
objc[490]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-06 12:30:00.025 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Before Install, Security Level is 0
2015-03-06 12:30:00.026 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Java 8 Update 40
2015-03-06 12:30:00.067 MacJREInstaller[485:5546] Install Log: Type:Install Severity:Debug Message:downloadSponsors https://javadl-esd-secure.oracle.com/update/1.8.0/sp-mac-1.8.0_40-b25/Sponsors.framework.tar
4aa85b08fabd3f292990b5d50ec2fe6a
2015-03-06 12:30:00.067 MacJREInstaller[485:5546] Install Log: Type:Install Severity:Debug Message:Inside begin download
2015-03-06 12:30:00.068 MacJREInstaller[485:5546] Install Log: Type:Install Severity:Debug Message:Download Started
2015-03-06 12:30:00.068 MacJREInstaller[485:5546] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
objc[491]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
objc[492]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-06 12:30:01.614 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:From Welcome Delegate
2015-03-06 12:30:01.620 MacJREInstaller[485:5546] Install Log: Type:Install Severity:Debug Message:Destination file created at:/var/root/Library/Application Support/Sponsors.framework.tar
2015-03-06 12:30:02.071 MacJREInstaller[485:5546] Install Log: Type:Install Severity:Debug Message:SPDownloader downloadDidFinish
x ./._Sponsors.framework
x Sponsors.framework/
x Sponsors.framework/Headers
x Sponsors.framework/Resources
x Sponsors.framework/Sponsors
x Sponsors.framework/._Versions
x Sponsors.framework/Versions/
x Sponsors.framework/Versions/._A
x Sponsors.framework/Versions/A/
x Sponsors.framework/Versions/Current
x Sponsors.framework/Versions/A/._Headers
x Sponsors.framework/Versions/A/Headers/
x Sponsors.framework/Versions/A/._Resources
x Sponsors.framework/Versions/A/Resources/
x Sponsors.framework/Versions/A/._Sponsors
x Sponsors.framework/Versions/A/Sponsors
x Sponsors.framework/Versions/A/Resources/._APNSetup.app
x Sponsors.framework/Versions/A/Resources/APNSetup.app/
x Sponsors.framework/Versions/A/Resources/._ASK.png
x Sponsors.framework/Versions/A/Resources/ASK.png
x Sponsors.framework/Versions/A/Resources/._ASK_FF.png
x Sponsors.framework/Versions/A/Resources/ASK_FF.png
x Sponsors.framework/Versions/A/Resources/._ASK_gc.png
x Sponsors.framework/Versions/A/Resources/ASK_gc.png
x Sponsors.framework/Versions/A/Resources/._ASK_safari.png
x Sponsors.framework/Versions/A/Resources/ASK_safari.png
x Sponsors.framework/Versions/A/Resources/._en.lproj
x Sponsors.framework/Versions/A/Resources/en.lproj/
x Sponsors.framework/Versions/A/Resources/._eula_en.txt
x Sponsors.framework/Versions/A/Resources/eula_en.txt
x Sponsors.framework/Versions/A/Resources/._Info.plist
x Sponsors.framework/Versions/A/Resources/Info.plist
x Sponsors.framework/Versions/A/Resources/._SponsorView.nib
x Sponsors.framework/Versions/A/Resources/SponsorView.nib
x Sponsors.framework/Versions/A/Resources/en.lproj/._InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/en.lproj/InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/APNSetup.app/._Contents
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/.__CodeSignature
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/_CodeSignature/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._Info.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Info.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._MacOS
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/MacOS/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._PkgInfo
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/PkgInfo
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/._Resources
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ask-search-template.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ask-search-template.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ask-search-translation-dictionary.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ask-search-translation-dictionary.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ask-search.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ask-search.xml
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._Base.lproj
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Base.lproj/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ChromeDatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ChromeDatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._ChromeModelDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/ChromeModelDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._DatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/DatabasesTemplate.db
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._DataDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/DataDB
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._en.lproj
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/en.lproj/
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._Extensions.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Extensions.plist
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._searchAskApp_ORJ-M.safariextz
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/searchAskApp_ORJ-M.safariextz
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/._toolbar_ORJ-M@apn.ask.com.xpi
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/toolbar_ORJ-M@apn.ask.com.xpi
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/en.lproj/._InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/en.lproj/InfoPlist.strings
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Base.lproj/._MainMenu.nib
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/Resources/Base.lproj/MainMenu.nib
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/MacOS/._APNSetup
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/MacOS/APNSetup
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/_CodeSignature/._CodeResources
x Sponsors.framework/Versions/A/Resources/APNSetup.app/Contents/_CodeSignature/CodeResources
x Sponsors.framework/Versions/A/Headers/._Sponsors.h
x Sponsors.framework/Versions/A/Headers/Sponsors.h
x Sponsors.framework/Versions/A/Headers/._WindowsDefs.h
x Sponsors.framework/Versions/A/Headers/WindowsDefs.h
2015-03-06 12:30:02.242 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:Incoming response: <NSHTTPURLResponse: 0x7f90ab4351e0> { URL: http://rps-svcs.sun.com/services/countrylookup } { status code: 200, headers {
Connection = "keep-alive";
"Content-Length" = 268;
"Content-Type" = "text/html";
Country = US;
Date = "Fri, 06 Mar 2015 17:30:02 GMT";
Expires = "Fri, 06 Mar 2015 17:30:02 GMT";
"Mime-Version" = "1.0";
Server = AkamaiGHost;
} }
2015-03-06 12:30:02.242 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:country in NSString: US
2015-03-06 12:30:02.245 MacJREInstaller[485:5546] SP Options received:{
"COUNTRY_CODE" = US;
"SP_PREF" = XSP01;
}
2015-03-06 12:30:02.246 MacJREInstaller[485:5546] Inside get sponsor offer
2015-03-06 12:30:02.246 MacJREInstaller[485:5546] Locale detected:en
2015-03-06 12:30:02.247 MacJREInstaller[485:5546] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 12:30:02.395 APNSetup[497:5772] APNSetup build date Feb 10 2015, build time: 17:23:05
2015-03-06 12:30:02.399 APNSetup[497:5772] APNSetup arguments: (
"/var/root/Library/Application Support/Sponsors.framework/Resources/APNSetup.app/Contents/MacOS/APNSetup",
"-Mode",
OfferCheck
)
2015-03-06 12:30:02.559 APNSetup[497:5772] APNSetup exit: exit code 24
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] Hex:24
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] Offer:18
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] HSB:1 LSB:8
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] Show the offer for Apple Safari
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] Framework:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 12:30:02.562 MacJREInstaller[485:5546] Target browser:Safari
2015-03-06 12:30:02.574 MacJREInstaller[485:5546] Inside awake from nib
2015-03-06 12:30:02.574 MacJREInstaller[485:5546] Grandparent path:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 12:30:02.574 MacJREInstaller[485:5546] Framework:/var/root/Library/Application Support/Sponsors.framework
2015-03-06 12:30:02.574 MacJREInstaller[485:5546] Display browser:Safari
2015-03-06 12:30:02.598 MacJREInstaller[485:5546] EULA err (null)
2015-03-06 12:30:02.601 MacJREInstaller[485:5546] Safari/Chrome is detected. Not showing Default Search checkbox.
2015-03-06 12:30:02.602 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Current Step:0
2015-03-06 12:30:04.417 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:From SP Delegate:1
2015-03-06 12:30:04.419 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Unlocking ContinueButton = <NSButton: 0x7f90ab57cbf0>: 0
2015-03-06 12:30:15.175 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Continue Button Clicked
2015-03-06 12:30:15.175 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Ret Code from savepreferences:-1
2015-03-06 12:30:15.190 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Installing JRE, Lock Continue Button
2015-03-06 12:30:15.190 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:ExecCmd:/usr/sbin/installer -pkg "/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/Resources/JavaAppletPlugin.pkg" -target /
2015-03-06 12:30:22.645 MacJREInstaller[485:5847] Install Log: Type:Network Severity:Debug Message:Response from Priviledged Helper: 0
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist: Operation already in progress
2015-03-06 12:30:22.678 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:From Ping Delegate
2015-03-06 12:30:22.678 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Unlocking ContinueButton = <NSButton: 0x7f90ab57cbf0>: 0
objc[564]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-06 12:30:23.444 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:After install, Security Level is 0
2015-03-06 12:30:23.446 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:platformOS in NSString: 10.10.2
2015-03-06 12:30:23.459 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:Incoming response: <NSHTTPURLResponse: 0x7f90ab4ae9f0> { URL: http://rps-svcs.sun.com/services/countrylookup } { status code: 200, headers {
Connection = "keep-alive";
"Content-Length" = 268;
"Content-Type" = "text/html";
Country = US;
Date = "Fri, 06 Mar 2015 17:30:23 GMT";
Expires = "Fri, 06 Mar 2015 17:30:23 GMT";
"Mime-Version" = "1.0";
Server = AkamaiGHost;
} }
2015-03-06 12:30:23.462 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:country in NSString: US
2015-03-06 12:30:23.463 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:XMLDocument
<?xml version="1.0" encoding="UTF-8" standalone="no"?><request><sc_xml_ver>1.0</sc_xml_ver><reportsuiteid>suninstallstat</reportsuiteid><visitorid>00000000000010008000000C29C27050</visitorid><prop21>00000000000010008000000C29C27050</prop21><prop20>******</prop20><pagename>ic</pagename><evar2>1.8.40.25</evar2><evar3>1.8.31.13</evar3><evar6>10.10.2</evar6><evar7>joff</evar7><evar8>US</evar8><evar24>0</evar24><evar25>0</evar25><events>event6,event7</events><products>jre|0,;XSP01|-129;;;;event7=1</products></request>
2015-03-06 12:30:23.464 MacJREInstaller[485:5546] Install Log: Type:Ping Severity:Debug Message:Ping return 1
2015-03-06 12:30:23.465 MacJREInstaller[485:5847] Install Log: Type:Network Severity:Debug Message:Calling performSelectorOnMainThread to set jre install code as 0
2015-03-06 12:30:23.469 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Calling setJREInstallCode with 0
2015-03-06 12:30:28.582 MacJREInstaller[485:5546] Install Log: Type:Network Severity:Debug Message:Curent step 3,Try to open https://java.com/verify/?src=install
computername:~ username$

view raw
gistfile1.txt
hosted with ❤ by GitHub

I’ve also run MacJREInstaller from the command line when the Mac is at the loginwindow, where nobody is logged into the machine. MacJREInstaller will crash in this instance.

computername:~ username$ sudo ~/Desktop/Java\ 8\ Update\ 40.app/Contents/MacOS/MacJREInstaller
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
2015-03-06 12:16:02.363 MacJREInstaller[513:5804] path: /var/root/Library/Application Support/JREInstaller
2015-03-06 12:16:02.367 MacJREInstaller[513:5804] —- INSTALL RUN |||| 03-06-2015 12:16:02 -0500
2015-03-06 12:16:02.368 MacJREInstaller[513:5804] Install Log: Type:Network Severity:Debug Message:Download Staged XML from :https://javadl-esd-secure.oracle.com/update/1.8.0/mac-1.8.0_40-b25.xml
2015-03-06 12:16:02.581 MacJREInstaller[513:5804] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-06 12:16:02.596 MacJREInstaller[513:5804] Install Log: Type:Network Severity:Debug Message:Arguments:(
"/Users/username/Desktop/Java 8 Update 40.app/Contents/MacOS/MacJREInstaller",
""
)
2015-03-06 12:16:02.596 MacJREInstaller[513:5804] Install Log: Type:Other Severity:Debug Message:Dictionary:{
}
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: Untrusted apps are not allowed to connect to Window Server before login.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Error>: This user is not allowed access to the window system right now.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: Invalid Connection ID 0
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: Invalid Connection ID 0
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] An uncaught exception was raised
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] Error (1000) creating CGSWindow on line 281
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] (
0 CoreFoundation 0x000000010b2ae66c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010ae7876e objc_exception_throw + 43
2 CoreFoundation 0x000000010b2ae51d +[NSException raise:format:] + 205
3 AppKit 0x000000010b7a459d _NSCreateWindowWithOpaqueShape2 + 1417
4 AppKit 0x000000010b7a2906 -[NSWindow _commonAwake] + 1882
5 AppKit 0x000000010b7b1ef0 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 803
6 AppKit 0x000000010b7b1927 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 829
7 AppKit 0x000000010b7b157b -[NSWindow orderWindow:relativeTo:] + 159
8 AppKit 0x000000010bb666cb -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1470
9 AppKit 0x000000010b676605 loadNib + 384
10 AppKit 0x000000010bbe75ab +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
11 AppKit 0x000000010bbe7ca8 +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 150
12 AppKit 0x000000010b675bc0 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 631
13 AppKit 0x000000010b671549 NSApplicationMain + 605
14 MacJREInstaller 0x000000010a0d4a1e main + 1528
15 MacJREInstaller 0x000000010a0ce7c0 start + 52
)
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1000) creating CGSWindow on line 281'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b2ae66c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010ae7876e objc_exception_throw + 43
2 CoreFoundation 0x000000010b2ae51d +[NSException raise:format:] + 205
3 AppKit 0x000000010b7a459d _NSCreateWindowWithOpaqueShape2 + 1417
4 AppKit 0x000000010b7a2906 -[NSWindow _commonAwake] + 1882
5 AppKit 0x000000010b7b1ef0 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 803
6 AppKit 0x000000010b7b1927 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 829
7 AppKit 0x000000010b7b157b -[NSWindow orderWindow:relativeTo:] + 159
8 AppKit 0x000000010bb666cb -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1470
9 AppKit 0x000000010b676605 loadNib + 384
10 AppKit 0x000000010bbe75ab +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
11 AppKit 0x000000010bbe7ca8 +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 150
12 AppKit 0x000000010b675bc0 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 631
13 AppKit 0x000000010b671549 NSApplicationMain + 605
14 MacJREInstaller 0x000000010a0d4a1e main + 1528
15 MacJREInstaller 0x000000010a0ce7c0 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
computername:~ username$

view raw
gistfile1.txt
hosted with ❤ by GitHub

However, Oracle apparently anticipated that MacJREInstaller may need to be run on a logged-out Mac, as they added a –silent function flag to MacJREInstaller. To invoke this installation method, run the following command with root privileges:

/path/to/Java_install_application.app/Contents/MacOS/MacJREInstaller --silent

Screen Shot 2015-03-06 at 5.01.31 PM

This installation mode does not attempt to download the Sponsors.framework.tar file and does not install the Ask.com browser settings and toolbar. Instead, it performs the following functions:

A. Checks to see if it can contact the internet

B. Sets itself to perform a silent installation

C. The JavaAppletPlugin installer package stored within the Java install application is installed.

D. MacJREInstaller checks back with Oracle to see what country the Mac in question is in.

Last login: Wed Mar 4 07:12:46 on ttys000
computername:~ username$ sudo /Volumes/Java\ 8\ Update\ 40/Java\ 8\ Update\ 40.app/Contents/MacOS/MacJREInstaller –silent
2015-03-04 07:14:06.810 MacJREInstaller[406:4104] path: /var/root/Library/Application Support/JREInstaller
2015-03-04 07:14:06.812 MacJREInstaller[406:4104] —- INSTALL RUN |||| 03-04-2015 07:14:06 -0500
2015-03-04 07:14:06.812 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:Download Staged XML from :https://javadl-esd-secure.oracle.com/update/1.8.0/mac-1.8.0_40-b25.xml
2015-03-04 07:14:07.002 MacJREInstaller[406:4104] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-04 07:14:07.007 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:Arguments:(
"/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/MacOS/MacJREInstaller",
"–silent",
""
)
2015-03-04 07:14:07.008 MacJREInstaller[406:4104] Install Log: Type:Other Severity:Debug Message:Dictionary:{
"INSTALL_SILENT" = 0;
}
2015-03-04 07:14:07.008 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.31.15
2015-03-04 07:14:07.009 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:Silent Install: installed jre version 1.8.31.15
2015-03-04 07:14:07.009 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:File path:/usr/sbin/installer -pkg "/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/Resources/JavaAppletPlugin.pkg" -target /
installer: Package name is Java 8 Update 40
installer: Upgrading at base path /
installer: The upgrade was successful.
2015-03-04 07:14:13.018 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:Silent Install: installer return 0
2015-03-04 07:14:13.018 MacJREInstaller[406:4104] Install Log: Type:Ping Severity:Debug Message:Init MacPingEngine.
2015-03-04 07:14:13.020 MacJREInstaller[406:4104] Install Log: Type:Ping Severity:Debug Message:platformOS in NSString: 10.10.2
2015-03-04 07:14:13.050 MacJREInstaller[406:4104] Install Log: Type:Ping Severity:Debug Message:Incoming response: <NSHTTPURLResponse: 0x7fc4b3d7cbf0> { URL: http://rps-svcs.sun.com/services/countrylookup } { status code: 200, headers {
Connection = "keep-alive";
"Content-Length" = 269;
"Content-Type" = "text/html";
Country = US;
Date = "Wed, 04 Mar 2015 12:14:13 GMT";
Expires = "Wed, 04 Mar 2015 12:14:13 GMT";
"Mime-Version" = "1.0";
Server = AkamaiGHost;
} }
2015-03-04 07:14:13.050 MacJREInstaller[406:4104] Install Log: Type:Ping Severity:Debug Message:country in NSString: US
2015-03-04 07:14:13.051 MacJREInstaller[406:4104] Install Log: Type:Ping Severity:Debug Message:XMLDocument
<?xml version="1.0" encoding="UTF-8" standalone="no"?><request><sc_xml_ver>1.0</sc_xml_ver><reportsuiteid>suninstallstat</reportsuiteid><visitorid>00000000000010008000000C29C27050</visitorid><prop21>00000000000010008000000C29C27050</prop21><prop20>******</prop20><pagename>ic</pagename><evar2>1.8.40.25</evar2><evar3>1.8.31.15</evar3><evar6>10.10.2</evar6><evar7>joff</evar7><evar8>US</evar8><evar24>0</evar24><evar25>0</evar25><events>event6,event7</events><products>jre|0,;XSP300|-145;;;;event7=1</products></request>
2015-03-04 07:14:13.052 MacJREInstaller[406:4104] Install Log: Type:Ping Severity:Debug Message:Ping return 1
2015-03-04 07:14:13.052 MacJREInstaller[406:4104] Install Log: Type:Network Severity:Debug Message:Silent Install: Ping Sent = 1
computername:~ username$

view raw
gistfile1.txt
hosted with ❤ by GitHub

In the event that MacJREInstaller can’t contact the internet or Oracle’s site, MacJREInstaller will install Java using the following process:

A. Checks to see if it can contact the internet. Check fails

B. Does not display the choice for whether or not to install the Ask.com browser settings and toolbar

C. The JavaAppletPlugin installer package stored within the Java install application is installed.

computername:~ username$ sudo /Volumes/Java\ 8\ Update\ 40/Java\ 8\ Update\ 40.app/Contents/MacOS/MacJREInstaller
2015-03-04 08:25:23.046 MacJREInstaller[477:5589] path: /var/root/Library/Application Support/JREInstaller
2015-03-04 08:25:23.049 MacJREInstaller[477:5589] —- INSTALL RUN |||| 03-04-2015 08:25:23 -0500
2015-03-04 08:25:23.050 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Download Staged XML from :https://javadl-esd-secure.oracle.com/update/1.8.0/mac-1.8.0_40-b25.xml
2015-03-04 08:25:23.196 MacJREInstaller[477:5589] Install Log: Type:Other Severity:Debug Message:Dictionary:{
}
2015-03-04 08:25:23.524 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.31.15
2015-03-04 08:25:23.525 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Current Installed Version:1.8.31.15
2015-03-04 08:25:23.525 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Sponsor and Ping are disabled as unable to download required staged xml.
2015-03-04 08:25:23.526 MacJREInstaller[477:5589] Install Log: Type:Ping Severity:Warning Message:Invalid psURL ! Disable Ping.
2015-03-04 08:25:23.526 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:installed version: 1.8.31.15
2015-03-04 08:25:23.527 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:version to install: 1.8.40.25
2015-03-04 08:25:23.656 MacJREInstaller[477:5589] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-04 08:25:23.657 MacJREInstaller[477:5589] Install Log: Type:Other Severity:Debug Message:infoPlist:(null)
objc[480]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-04 08:25:25.365 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Before Install, Security Level is 0
2015-03-04 08:25:25.407 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Java 8 Update 40
objc[482]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
objc[483]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-04 08:25:26.952 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:From Welcome Delegate
2015-03-04 08:25:28.435 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Installing JRE, Lock Continue Button
2015-03-04 08:25:28.436 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:ExecCmd:/usr/sbin/installer -pkg "/Volumes/Java 8 Update 40/Java 8 Update 40.app/Contents/Resources/JavaAppletPlugin.pkg" -target /
2015-03-04 08:25:34.346 MacJREInstaller[477:5778] Install Log: Type:Network Severity:Debug Message:Response from Priviledged Helper: 0
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist: Operation already in progress
2015-03-04 08:25:34.364 MacJREInstaller[477:5589] Install Log: Type:Ping Severity:Debug Message:From Ping Delegate
2015-03-04 08:25:34.365 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Unlocking ContinueButton = <NSButton: 0x7f8e92c511b0>: 0
objc[548]: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/./libjli.dylib. One of the two will be used. Which one is undefined.
2015-03-04 08:25:35.064 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:After install, Security Level is 0
2015-03-04 08:25:35.065 MacJREInstaller[477:5589] Install Log: Type:Ping Severity:Warning Message:Pings disabled.
2015-03-04 08:25:35.066 MacJREInstaller[477:5778] Install Log: Type:Network Severity:Debug Message:Calling performSelectorOnMainThread to set jre install code as 0
2015-03-04 08:25:35.070 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Calling setJREInstallCode with 0
2015-03-04 08:25:44.339 MacJREInstaller[477:5589] Install Log: Type:Network Severity:Debug Message:Curent step 2,Try to open https://java.com/verify/?src=install
computername:~ username$

view raw
gistfile1.txt
hosted with ❤ by GitHub

Based on the behavior I’ve seen, MacJREInstaller is Oracle’s tool for handling the installation of Java on the Mac although the JavaAppletPlugin installer package stored within the Java install application is what’s actually installing the Java browser plug-ins. However, MacJREInstaller is pretty much a blackbox to me and does not include documentation saying what it’s doing or how it works. Even MacJREInstaller‘s –silent function does not appear to be documented, it was instead discovered by several Mac admins in the ##osx-server IRC room while analyzing the MacJREInstaller binary.

Without documentation of what MacJREInstaller‘s functions are, combined with the behavior I have observed when running the tool, I plan to stick with pulling out the JavaAppletPlugin installer package stored within the Java install application and running that separately to install the Java browser plug-ins.

Screen Shot 2015-03-03 at 4.03.38 PM

  1. March 7, 2015 at 8:07 am

    Reblogged this on /home/kOoLiNuS.

  2. David
    March 7, 2015 at 7:49 pm

    Looks like South Africa is on the Oracle unwanted country list.

  3. cashxx
    March 10, 2015 at 6:11 pm

    You can supposedly to this as well from CLI:

    open –args SPONSORS=0

  4. cashxx
    March 10, 2015 at 6:12 pm

    open path to the downloaded installer –args SPONSORS=0

  5. Reactor105
    November 11, 2015 at 6:51 pm

    Thank you for your analysis. It was very helpful.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: