Reputation: 2101
I am working with Solaris 10 10/09 s10s_u8wos_08a SPARC.
When trying to use jstat utility, I am receiving the following prompts:
stires-web-a:/aaa/thirdParty/java/jdk1.8.0_101/bin->ls js*
jsadebugd jstack jstat jstatd
stires-web-a:/aaa/thirdParty/java/jdk1.8.0_101/bin->jstat
bash: jstat: command not found
Why is that happening?
I saw the question and answer here, but didn't understand how to apply the solution.
Upvotes: 0
Views: 2904
Reputation: 2101
Ok, it appeared that there were 2 java installations on the machine and I have used the wrong one :(
Upvotes: 0