jps not working
问题 I have installed java-1.6.0-openjdk-devel. $java -version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.3) (rhel-1.48.1.11.3.el6_2-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) when typing jps into command prompt $jps -bash: jps: command not found I do not believe it is an openjdk error because I have used it around 6 months back on the same system and it worked fine. Also, it works fine on my laptop. 回答1: You just have to put $JAVA_HOME/bin in your $PATH