We installed the following RPMs (part of the Java development kit), on Red Hat Enterprise Linux 7.5:

$ rpm -qa | grep jdk

but we can't find jstat which should be on the following path:


What is wrong here?

Is jstat part of the installed RPMs above or do we need another java installation?

$ which java

You haven’t installed the JDK; to install the JDK, which includes jstat, you need to install java-1.8.0-openjdk-devel.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.