Jayatana worked fine for me on Ubuntu 16.10, but after upgrading to 17.04 the menu of Android Studio doesn't merge with the Ubuntu title bar Anymore.
When starting Android Studio via terminal there are also no messages about jayatana.
I have jayatana installed (obviously) and the:
-javaagent:/usr/share/java/jayatanaag.jar line added to:
Is this a bug in Ubuntu 17.04 or am I missing something here? Anyone else having troubles making this work?