I recently started seeing "java" processes with the default Java icon sometimes stay in the switcher/dock after Java Web Start applications are closed (OS X 10.9.5 Mavericks). This may have begun with JDK 1.7.0_76-b13. pgrep java shows there are no such processes. Force Quit does not work and they do not appear in the Activity Monitor.

I am behind corporate firewall/anti-virus and only use Java for local, proprietary applications. The disk has been verified by Disk Utility.

So far I have found that killall -KILL Dock will get rid of most of them but often leaves at least one called "java" with the command-line icon (black terminal window with green "exec" writing). Example from the Dock:

Example of Java icons

Does anyone else experience this or know - more generally - the cause and workaround?

  • Please add within your OQ if you ran Disk Utility on your Mac, and if you ran your anti-virus. – dan Apr 2 '15 at 7:12
  • Does your problem looks like this one stackoverflow.com/a/17544259 ? – dan Apr 4 '15 at 9:11
  • 1
    No: I expect icons to come up whilst the processes are running. The problem is that they (sometimes) do not go away when the processes end. – Sam Brightman Apr 7 '15 at 5:58
  • To help people try to help you in a known context, read and answer my 1st comment. – dan Apr 7 '15 at 21:44
  • @danielAzuelos it's hard to interpret your comment - could you explain further why you think running Disk Utility causes Java icons to say in the dock? It's unclear whether you mean that these programs have ever run, or that something particular has been done with them (I have "run" Disk Utility and do not run a virus scanner locally - there are corporate ones on the network). These are real Java programs that I've run and have verified are no longer running. I'm not going around clicking on random adverts, and I only use Java for internal software. – Sam Brightman Apr 8 '15 at 5:34

You must log in to answer this question.

Browse other questions tagged .