Unable to take Heap and Thread Dumps " jstack: command not found"

Solution Unverified - Updated -

Issue

-We are unable to take Heap and Thread Dumps for Java process

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

Environment

openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

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