You use JDK troubleshooting tools and commands to troubleshoot Java applications and the Java Virtual Machine (JVM).
Note:
Tools identified as Experimental are unsupported and might not be available in future JDK releases.
The following sections describe the JDK troubleshooting tools and commands:
jcmd: You use the jcmd
utility to send diagnostic command requests to a running Java Virtual Machine (JVM).
jdb: You use the jdb
command and it’s options to find and fix bugs in Java platform programs.
jhsdb: You use the jhsdb
tool to attach to a Java process or to launch a postmortem debugger to analyze the content of a core dump from a crashed Java Virtual Machine (JVM).
jinfo: Experimental You use the jinfo
command to generate Java configuration information for a specified Java process. This command is experimental and unsupported.
jmap: Experimental You use the jmap
command to print details of a specified process. This command is experimental and unsupported.
jstack: Experimental You use the jstack
command to print Java stack traces of Java threads for a specified Java process. This command is experimental and unsupported.