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.
for Debian "buster" - 10.3 -
cat /etc/debian_version # 10.3
echo "deb http://ftp.us.debian.org/debian sid main" > /etc/apt/sources.list.d/buster.list
apt-get update && apt-get install -f -y openjdk-8-jdk-headless openjdk-8-dbg
The following worked for me:
sudo apt-get install openjdk-8-jdk openjdk-8-dbg