9 Troubleshooting Tools and Commands
You use JDK troubleshooting tools and commands to troubleshoot Java applications and the Java Virtual Machine (JVM).
The following sections describe the JDK troubleshooting tools and commands:
-
jcmd: You use the
jcmdutility to send diagnostic command requests to a running Java Virtual Machine (JVM). -
jdb: You use the
jdbcommand and its options to find and fix bugs in Java platform programs. -
jhsdb: You use the
jhsdbtool to attach to a Java process or to a core dump from a crashed Java Virtual Machine (JVM).
Note:
Tools identified as Experimental are unsupported and might not be available in future JDK releases.
-
jinfo: Experimental You use the
jinfocommand to generate Java configuration information for a specified Java process. This command is experimental and unsupported. For core files usejhsdbjinfo. -
jmap: Experimental You use the
jmapcommand to print details of a specified process. This command is experimental and unsupported. For core files usejhsdbjmap. -
jstack: Experimental You use the
jstackcommand to print Java stack traces of Java threads for a specified Java process. This command is experimental and unsupported. For core files usejhsdbjstack.