# jmap -heap fails on Ubuntu with OpenJDK Whenever I try to use `jmap -heap`, which is usually when I’m in a hurry as things are going weird, it fails with: java.lang.RuntimeException: unknown CollectedHeap type : class sun.jvm.hotspot.gc_interface.CollectedHeap Easily fixed by installing the OpenJDK debug symbols. I’m currently using the openjdk-8 package, so I install the openjdk-8-dbg package.