Install the Jeyzer Recorder (or the Jeyzer ecosystem which contains also a recorder).
Keep in mind the application name your enter in the Jeyzer Recorder – Recording home panel.
Add the following VM parameter to the command line of the application to monitor (replace the <> as indicated) :
-javaagent:”<recorder home>/recorder/lib/jeyzer-agent.jar”=<recorder home>/recorder/config/agent/jeyzer-agent.xml;jeyzer-record-agent-profile=<application name>
<recorder home> is the path to the Jeyzer Recorder (or Ecosystem) installation
<application name> is the name captured during the installation (see above).
Start your application. Let it run for some time.
The recording is visible in the <recorder home>/work/recordings/<application name>
Stop the application.
Create the JZR recording by zipping the directory <recorder home>/work/recordings/<application name>
PS : the JZR recording creation can be automated by configuration.