I\'m trying to use the jmap command on my CentOS server but it keeps telling me that the command was not found even though I have the JDK installed. >
jmap
CentOS
it doesn't come default with JRE -- you should be able to install it with below command
yum install java-1.8.0-openjdk-devel-debug