Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have apparently had Java installed at some point and Mavericks removed it, which is fine by me. The problem is that some unknown app is constantly trying to run Java, causing this dialog to appear every few minutes:

screenshot of the dialog

How do I find out what app is causing this? I know it's not a website, as no browser needs to be running in order for the dialog to pop up.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Since your screenshot references java where the app name usually is written, it suggests that it's the command-line version of Java that a given app is trying to run.

If it appears at specific intervals, it either an app that you have open or a periodical job running automatically in the background (Which, ironically, could be the Java Updater itself).

A quick way to check out which of your installed applications use Java is to run this command in Terminal (/Applications/Utilities/Terminal.app):

find /Applications -type f -name *.jar

This isn't 100 % accurate but it can give you a rough idea. Dreamweaver and Flash from Adobe, for instance, uses Java.

To get a list of currently running automated background scripts use this command in Terminal — You should run in as close as possible to the moment when the Java popup appears:

launchctl list

(Credit to this thread on Apple Support, it's also useful in understanding launchd)

This will, sadly, only give you a list of processes running and not why or what they're running.

Finally, you might want to take a look at the files in ~/Library/LaunchAgents (In Finder use Cmd+Shift+G and paste in the path. This directory shows the periodical jobs that you've setup as a user (sometimes indirectly through an install). Maybe one of these use Java.

share|improve this answer
    
Great, thank you! Turns out it was the Facebook Video plugin. I found it via the ~/Library/LaunchAgents tip. You are the man. –  Haider Dec 25 '13 at 16:26
    
@Haider My pleasure! Glad you found the culprit. If you could mark my answer as accepted, I'd greatly appreciate it. –  Lasse Dec 25 '13 at 23:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.