Unable to take heap and thread dumps
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
- Which package provides the
jstack
tool in RHEL?
Environment
- Red Hat build of OpenJDK
- 6
- 7
- 8
- 11
- Red Hat Enterprise Linux (RHEL)
- 6
- 7
- 8
- 9
- Windows
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.