欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

-bash: jps: command not found

程序员文章站 2022-03-09 09:17:36
...

使用rpm安装java后,直接输入java命令,成功

-bash: jps: command not found

但是输入jps,却出现-bash: jps: command not found

-bash: jps: command not found

我还以为安装rpm不需要配置环境变量呢。我错了。。。

export JAVA_HOME=/usr/java/jdk1.7.0_67
PATH=$PATH:$JAVA_HOME/bin

-bash: jps: command not found

解决!!!