jmap command not found

前端 未结 8 2400
不知归路
不知归路 2021-02-12 11:40

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.

相关标签:
8条回答
  • 2021-02-12 12:07

    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
    
    0 讨论(0)
  • 2021-02-12 12:08

    The following worked for me:

    sudo apt-get install openjdk-8-jdk openjdk-8-dbg

    0 讨论(0)
提交回复
热议问题