This document is a guide to help troubleshoot problems that might occur between a Java application and the Java HotSpot Virtual Machine (JVM). The document provides a description of the available tools and command-line options that can help in analyzing problems. The document also provides guidance on how to approach some general issues, such as a crashes, hangs, or memory leaks. Finally, the document provides directions for data collection and bug report preparation.
The target audience for this document comprises developers who are using the Java Development Kit (JDK), which is Oracle's implementation of the Java Platform, Standard Edition (Java SE). The current release is Java SE 8 (and JDK 8). However, most of the information in this document can be applied to previous releases.
This document is intended for readers with a high-level understanding of the components of the JVM, as well as some understanding of concepts such as garbage collection, threads, native libraries, and so on. In addition, it is assumed that the reader is reasonably proficient with the operating system on which the Java application is developed and run.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc
.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
For more information about Java SE, the JDK, and the JVM, visit the Java SE Home website at
http://www.oracle.com/technetwork/java/javase
For help on troubleshooting problems that might occur with Java applications created using desktop technologies in Java SE, refer to the Java SE Desktop Technologies Troubleshooting Guide.
The following text conventions are used in this document:
Convention | Meaning |
---|---|
boldface |
Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. |
italic |
Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
|
Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. |