---
title: Java Debug Wire Protocol
slug: java-debug-wire-protocol
qid: 
snapshot: enwiki-001359222999
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1359222999
tags: [10639920, 23144475, 23468805, 23603337, 26220375, 28697136, 40223152, 64408559]
---

# Java Debug Wire Protocol

> [!note] Provenance
> Snapshot `enwiki-001359222999` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1359222999> · Licensed CC BY-SA 4.0

In computing, the Java Debug Wire Protocol (JDWP) is a communication protocol which is part of the Java Platform Debugger Architecture. It is used for communication between a debugger and the Java Virtual Machine, which it debugs. It allows to debug processes on a different computer. It can work over a network socket or through shared memory. The protocol is implemented in the software library libjdwp . It can be activated using the -Xrunjdwp parameter of Java. Metasploit includes a module for JDWP. It can exploit it using various scripts, which have functions such as injecting a Java class that executes a shell command, returns operating system details or injects an arbitrary class.

In computing, the Java Debug Wire Protocol (JDWP) is a communication protocol which is part of the Java Platform Debugger Architecture. It is used for communication between a debugger and the Java Virtual Machine, which it debugs. It allows to debug processes on a different computer. It can work over a network socket or through shared memory. The protocol is implemented in the software library libjdwp . It can be activated using the -Xrunjdwp parameter of Java. Metasploit includes a module for JDWP. It can exploit it using various scripts, which have functions such as injecting a Java class that executes a shell command, returns operating system details or injects an arbitrary class.
