Unable to take heap and thread dumps

Solution Verified - Updated -

Issue

Unable to take heap and thread dumps for Java process. Facing the below output:

-bash: jstack: command not found
-bash: jmap: command not found

Environment

  • OpenJDK
    • 6
    • 7
    • 8
  • Red Hat Enterprise Linux (RHEL)
    • 6
    • 7
    • 8
  • Windows

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In