How Do You Install jps?

Problem scenario
You want to list the instrumented JVMs on your Linux OS.  Therefore you want to run the command jps.  What package(s) do you need to install?

Solution
For CentOS/RedHat/Fedora run this:
sudo yum -y install java-1.8.0-openjdk-devel

For Linux SUSE run this:
sudo zypper -n install java-1_8_0-openjdk-devel

For Ubuntu/Debian Linux run this:
sudo apt-get -y install openjdk-8-jdk-headless default-jre


If you want to learn more about the Java process status tool, see these postings:

http://www.eclipse.org/openj9/docs/tool_jps/
https://docs.oracle.com/javase/7/docs/technotes/tools/share/jps.html
https://andunix.net/info/java/jps

Leave a comment

Your email address will not be published. Required fields are marked *