问题

运行arthas-boot.jar时提示报错

[root@ls-bptysztw ~]# java -jar arthas-boot.jar
[INFO] arthas-boot version: 3.6.6
[INFO] Can not find java process. Try to run `jps` command lists the instrumented Java HotSpot VMs on the target system.
Please select an available pid.
[root@ls-bptysztw ~]# 

分析

提示显示,尝试运行jps命令中断。
命令窗口检查, 找不到jps命令。

通常安装了默认的openjdk是不支持jps的,可以选择安装

方案一:安装java-xxx-openjdk-devel.x86_64

安装流程见:https://blog.csdn/u011628753/article/details/124527116

方案二:安装oracle jdk

安装流程见:https://blog.csdn/u011628753/article/details/126913229

更多推荐

Can not find java process. Try to run `jps` command lists the instrumented Java