JProfiler not working in IntelliJ 12 (JProfiler executable is null)

Christopher Perry picture Christopher Perry · Dec 15, 2012 · Viewed 11.7k times · Source

I'm trying to profile my Android app. I installed the JProfiler plugin through

IntelliJ IDEA --> Preferences --> Plugins

Here's a screenshot of the plugin description:

JProfiler plugin description

When I try to run the profiler nothing happens and I get this message saying that the JProfiler executable is null:

enter image description here

Any idea on how to fix this?

Answer

Ricardo Pardini picture Ricardo Pardini · Dec 27, 2012

You need to set or re-set the JProfiler executable. Do the following:

  • Select "Edit Configurations" from the "Run" drop down menu
  • Select "Application" under "Defaults" in the dialog box (or any existing run configuration)
  • Select the "Startup/Connection" tab
  • Select "JProfiler" in the list
  • Click on the "Select JProfiler Executable" button
  • Choose the JProfiler executable, which is

  • [JProfiler installation directory]\bin\jprofiler.exe on Windows
  • [JProfiler installation directory]/bin/jprofiler on Linux/Unix
  • [JProfiler installation directory]/bin/macos/jprofiler.sh on Mac OS X