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
The following worked for me:
sudo apt-get install openjdk-8-jdk openjdk-8-dbg
the java path must be in the "PATH" systemproperty.
$JAVA_HOME/bin