jmap command not found

前端 未结 8 2399
不知归路
不知归路 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 11:46

    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
    

提交回复
热议问题