Reputation: 39225
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:
When I try to run the profiler nothing happens and I get this message saying that the JProfiler executable is null:
Any idea on how to fix this?
Upvotes: 3
Views: 19090
Reputation: 465
You need to have JProfiler 7.2.2 (or newer) which integrates with IntelliJ IDEA 12 http://www.ej-technologies.com/download/jprofiler/changelog.html#7.2.2
To start, in a file browser check if you have the plugins folder, if not create it, so it looks like this
C:\Users\[username]\.IntelliJIdea12\config\plugins
If running IntelliJ IDEA 12, close it.
Inside JProfiler go to
Session -> IDE Integrations
And choose IntelliJ IDEA 12.x
and click Proceed
button
Choose your .IntelliJIdea12
folder
C:\Users\[username]\.IntelliJIdea12
And you're done, you should see a new button Next to Run [class#method] with Coverage
that says Profile [class#method]
Upvotes: 1
Reputation: 950
You need to set or re-set the JProfiler executable. Do the following:
- [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
Upvotes: 11
Reputation: 47975
You have to install JProfiler first, you can download it here.
Upvotes: 9