JStack Throws " sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process" Error When Attaching to a Process on Linux
(Doc ID 2485225.1)
Last updated on JANUARY 20, 2023
Applies to:
Java SE JDK and JRE - Version 7 and laterLinux x86
Linux x86-64
Symptoms
JStack is a tool for printing stack traces from Java SE threads and processes. It is packaged with the JDK but not the JRE.
When running the tool with the -F (force) option against a process ID, the following exception is thrown:
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |