Ubuntu – Message on each startup of Java after upgrade to 15.04


I just upgraded to 15.04 and noticed that on any Java program launched, the message

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

is printed to the console (which did not happen before the upgrade). Googling it only taught me what a Java Agent is. Now:

  • Why does this message appear?
  • Does anybody else observe this?
  • Can it be disabled?

Best Answer

This PPA is to get Unity AppMenu and HUD support for applications like NetBeans IDE, IntelliJ IDEA, Android Studio etc., as described here. So, unless you want this you can delete the package using sudo apt-get remove jayatana (and as the stackoverflow thread suggests, removing /usr/share/upstart/sessions/jayatana.conf and restarting your computer). I am not sure if this is by default installed by 15.04 because it is not listed in the author's repo.