Troubleshooting Tools on Windows for Java SE 5.0

Monitoring Tools
Debugging Tools


Monitoring Tools

JConsole

Launch a GUI to monitor and manage Java applications and Java VMs on a local or remote machine.

jps

(Not currently available on Windows 98 or Windows ME platforms.)

List instrumented Java virtual machines.

jstat

(Not currently available on Windows 98 or Windows ME platforms.)

Display performance statistics for an instrumented Java VM:

jstatd

(Not currently available on Windows 98 or Windows ME platforms.)


Debugging Tools

Heap Analysis Tool (HAT)

Parse a binary heap dump, launch a web browser, and present standard queries.

For detailed information, see J2SE 5.0 Troubleshooting and Diagnostic Guide (pdf)

HPROF profiler

Writes class profiling information to a file or a socket, in ASCII or binary.

To invoke the HPROF tool: java -agentlib:hprof ToBeProfiledClass

To print the complete list of options: java -agentlib:hprof=help

jdb

Launch a simple interactive command-line debugger.