Installing the JDK
1. Download the "Java SE Development Kit" non RPM version from
oracle
jdk-xxxx-linux-x64.tar.gz
2. Extract the jdk to /opt
- sudo mv jdk-xxxx-linux-x64.tar.gz /opt
- sudo cd /opt
- sudo tar -xzf jdk-xxxx-linux-x64.tar.gz
- sudo rm jdk-xxxx-linux-x64.tar.gz
- sudo ln -s jdkXXXX jdk
- cd /opt/jdk/bin
- Execute the jstack commands here from the bin directory
Note: This will not be an installation. From the extracted directory, jstack can be invoked.