title: Can Sun JDK generate core/heap dump files when JVM crashes?
body: <p>Is there anyway to generate core/heap dump file when JVM crashes? Since these files are usually very helpful to find out bugs in code. </p>