Last Updated: February 25, 2016
· amirkarimi

Global menu enabled by default for Java Swing in Ubuntu 15.04

When I upgraded my system to Ubuntu 15.05 I noticed the following message when I run Java apps:

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar

After a little investigation I found out that Jayatana enables global menu and HUD for Java Swing applications which is enabled by default in Ubuntu 15.05.

So the IDEA menu will appear on top menu bar or inside the windows title bar (depending on your configuration).