On OSX Yosemite an annoying pop-up comes up quite often saying:
To view this web content, you need to install the Java Runtime Environment
I know the solution is to install java; however I'm wondering what's the cause for that.
ps -axww tells me:
13218 ?? S 0:00.29 /System/Library/Java/Support/CoreDeploy.bundle/Contents/Download Java Components.app/Contents/MacOS/Download Java Components
I dug around and I found that there is a LaunchDaemon that references this in
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.apple.java.InstallOnDemandAgent</string> <key>MachServices</key> <dict> <key>com.apple.java.installondemand</key> <true/> </dict> <key>Program</key> <string>/System/Library/Java/Support/CoreDeploy.bundle/Contents/Download Java Components.app/Contents/MacOS/Download Java Components</string> <key>RunAtLoad</key> <false/> </dict> </plist>
Does anyone know what is the purpose of all this? The pop-up appears at random times, which makes me think there's a background daemon that demands Java to run but I could not find any source for this behaviour.