Requirements: IDEA 6.x, 7.x., 8.x, 9.x, 10.x, 11.x or 12.x
For newly released versions of IntelliJ IDEA, download the JProfiler plugin from the IDEA plugin manager.
Reminder: Please close IntelliJ IDEA while performing the plugin installation. If you are performing the installation from JProfiler's setup wizard, please complete the entire setup first before starting IntelliJ IDEA.
A file selector will then prompt you to locate the installation directory of IntelliJ IDEA.After acknowledging the completion message, you can start IntelliJ IDEA and check whether the installation was successful. You should now see a menu entry Run->Profile in IDEA's main menu.
JProfiler can profile all run configuration types from IDEA, also applications servers. To configure further settings, please edit the run configuration, choose the "Startup/Connection" tab, and select the "Profile" entry. The screen shot below shows the startup settings for a local server configuration. Depending on the run configuration type, you can adjust JVM options or retrieve profiling parameters for remote profiling.
For all run configuration types you can decide whether you want to open a new window in JProfiler for the profiling session or if you wish to reuse the last window to accommodate the profiling session.
The profiled application is then started just as with the usual "Run" commands. If no instance of JProfiler is currently running, JProfiler is also started, otherwise the running instance of JProfiler will be used for presenting profiling data.
When JProfiler is started from IntelliJ IDEA, the "Show source" action for a class or a method in one of JProfiler's view will show the source element in IDEA and not in JProfiler's integrated source code viewer.
You can also open JProfiler snapshots from IDEA, either from the project window or the open file dialog in order to get source code navigation into IDEA.
With the Run->Attach JProfiler to JVM menu item, you can attach JProfiler to any locally started JVM and get source code navigation in the IDE. Please see the help on attaching to JVMs for more information on attach mode.