aaron-kelley.net

My little corner of the Internet

Java icon appears in system tray, even when you told it not to?

Alright, here’s some Sun Java silliness I ran across a while back and just found the fix for.

If you’re running Java applications on Windows, you may have noticed that Sun likes you to see a Java icon in the system notification area when a Java application is running. You can get rid of it by right-clicking on it and selecting “Hide icon,” but it’ll just come back next time. There’s an option in the Java control panel to hide the icon… But sometimes, in Vista, it shows up even though you’ve told it to hide.

20080716_java-tray

Here’s the solution.

Open an elevated command prompt. Navigate to the Java JRE’s bin folder… at present, on my machine, it is “C:\Program Files (x86)\Java\jre1.6.0_07\bin“. Run javacpl.exe. The Java control panel will open. If you go check, you’ll notice that the option to show the icon in the system tray is still checked, even if you unchecked it before… It seems that the setting is kept independently for elevated applications and non-elevated applicaitons.

Tags:

Comments are closed.