My Oracle Support Banner

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 APRIL 01, 2020

Applies to:

Java SE JDK and JRE - Version 7 and later
Linux 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.