I installed JDK by downloading the RPM from oracle and installed it using yum. But the jstack command is not recognized. I'm using CentOS 6.3 How can I make it work?


It is probably just not in your $PATH for some reason. Try searching for the command:

sudo updatedb
locate jstack

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.