Wiki Blog Gallery

Profiling your Java applications with JProfiler

  • Download JProfiler v5.2.1 from here.
  • Read build-in help 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%;%Programs%\JProfiler5\bin\windows
    set VM_OPT=-Xmx1200m -Xbootclasspath/a:%Programs%\JProfiler5\bin\agent.jar -agentlib:jprofilerti
    
    call java %VM_OPT% -jar lib/root.jar

    or for Linux:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/jprofiler5/linux-x86
    
    VM_OPT="-Xmx1200m -Xbootclasspath/a:$HOME/jprofiler5/agent.jar -agentlib:jprofilerti"
    
    java $VM_OPT -jar lib/root.jar $*

 
программирование/java/jprofiler.txt · Последние изменения: 2009/09/30 23:15 dmitry
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki