After installing MJP, you can test the application by using it to profile itself by following these steps:
From the menu bar, select File -> Run.
Windows: Into the Executable field type MJP_HOME/bin/mjp.exe or click on the '...' button and use the file-chooser to select mjp.exe.
Linux: Into the Executable field type MJP_HOME/bin/mjp or click on the '...' button and use the file-chooser to select mjp.
Click on the Run button.
You should see the process window open, some text be displayed in it, and then another instance of MJP should start.
Exit the second instance of MJP.
You should see some more output in the process window. You can safely ignore any stack underflow errors. The second to last line should look something like:
Writing data to 1027568283.mjp.
This tells you where the profiler agent wrote its data. This file is placed in the current working directory of the Java Virtual Machine; in this case MJP_HOME/bin. Note: it is on the TODO list to make this easier.
From the menu bar, select File -> Open then choose the profile data file; e.g. MJP_HOME/bin/1027568283.mjp.
The data browser window should open and you should be able to view the profile data.