Registry / utility / byte-buddy-agent

byte-buddy-agent

JSON →
library1.18.8javamavenunverified

Byte Buddy agent for attaching an agent to the local or a remote JVM.

<dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy-agent</artifactId> <version>1.18.8</version> </dependency>
INSTALL
IMPORT
SIG · BYTE-BUDDY-AGENT
B
byte-buddy-agent
utilityjavav1.18.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ByteBuddyAgent
net.bytebuddy.agent.ByteBuddyAgent

Install Byte Buddy agent and obtain Instrumentation instance.

import net.bytebuddy.agent.ByteBuddyAgent; import java.lang.instrument.Instrumentation; public class Example { public static void main(String[] args) { Instrumentation inst = ByteBuddyAgent.install(); System.out.println("Agent installed: " + (inst != null)); } }
Debug
Known issues
gotchaAttaching agent at runtime may require specific JVM flags or permissions.
fix
Ensure the application has appropriate permissions or use -javaagent at startup.
affects: *
Upgrade
Version history
1.18.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
byte-buddy-agent — mvn dependency:get byte-buddy-agent · libregistry