• Intro Headers Instructions Macros
  • Fork me on GitHub
    • Release
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Manifest Annotations
    • Resolving Dependencies
    • Launching
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • From the command line
    • For Developers
    • Plugins
    • Tools bound to bnd
    • File Format
    • Header Reference
    • Instruction
    • Instruction Index
    • Macro Reference
    • Command Reference
    • Plugins Reference
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
    Supported by OSGi enRoute
  • -javaagent BOOLEAN

    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
    
    • Contact
    • Developers
    • More