jmap command not found

前端 未结 8 2155
名媛妹妹
名媛妹妹 2021-02-12 11:42

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:04

    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
    

提交回复
热议问题