File: javaagent.md

package info (click to toggle)
bnd 5.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 44,092 kB
  • sloc: java: 249,039; xml: 90,727; sh: 655; perl: 153; makefile: 95; python: 47; javascript: 9
file content (18 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
layout: default
class: Project
title: -javaagent BOOLEAN
summary:  Specify if classpath jars with Premain-Class headers are to be used as java agents
---

If the value is true, then each classpath elements that
has a `Premain-Class` manifest header is used as a java agent
when launching by adding a `-javaagent:` argument to the java invocation.

    -javaagent:jarpath

If the classpath element was specified with an `agent` attribute, the
value of the `agent` attribute will be used as the options for the
`-jaragent:` argument to the java invocation.

    -javaagent:jarpath=options