jmap command not found

前端 未结 8 2176
名媛妹妹
名媛妹妹 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 11:59

    I found that on my system (elasticsearch container) it is excluded:

    $ grep exclude /etc/yum.conf 
    exclude=java-1.8.0-openjdk*
    

    If I comment it out then I can see and install this package with yum install ...

提交回复
热议问题