Troubleshooting Tools on Windows for Java SE 7

Monitoring Tools
Debugging Tools
Scripting Tools


Monitoring Tools

Java VisualVM

Java™ VisualVM is a monitoring and profiling tool for troubleshooting Java applications. It incorporates various technologies, including jvmstat and JMX, as well as CPU and memory profiling, to provide one easy-to-use integrated visualization tool. Developers can rapidly create their own extensions using a public API, and may share them with the community on a central repository.

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

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.

jhat

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

jinfo

jmap

jsadebugd

Serviceability Agent Debug Daemon, which acts as debug server.

jstack


Scripting Tools

jrunscript