jmap command not found

前端 未结 8 2150
名媛妹妹
名媛妹妹 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:07

    The following worked for me:

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

    0 讨论(0)
  • 2021-02-12 12:07

    the java path must be in the "PATH" systemproperty.

    $JAVA_HOME/bin
    
    0 讨论(0)
提交回复
热议问题