Go to the bin directory under your Intellij Idea directory and edit your VM options file.
$ cd <intellij idea install dir>/bin
$ sudo vim idea64.vmoptions
Append jayatanaag.jar to the end of idea64.vmoptions.
-javaagent:/usr/share/java/jayatanaag.jar