Reference → Managing Sessions → Remote Session Invocation Table
. System should be able to find jprofilerti.dll
in system path. In my case run sequence is the following: set PATH=%PATH%;%Applications%\JProfiler\bin\windows set VM_OPT=-Xmx1200m -Xbootclasspath/a:%Applications%\JProfiler\bin\agent.jar -agentlib:jprofilerti call java %VM_OPT% -jar lib/root.jar
or for Linux:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/jprofiler/linux-x86 VM_OPT="-Xmx1200m -Xbootclasspath/a:$HOME/jprofiler/agent.jar -agentlib:jprofilerti" java $VM_OPT -jar lib/root.jar $*
-agentlib:jprofilerti=port=8849
to specify the port -agentlib:jprofilerti=nowait,id=100,config=/work/config.xml
to run in nowait mode (note: config.xml
should contain the license information)