• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Getting Started
      • Introduction
      • How to install bnd
      • Guided Tour Workspace & Projects
      • bnd / bndlib Features and JAR Wrapping Techniques
      • FAQ - Frequently Asked Questions
    • Concepts and Practices
      • Concepts
      • Background
      • Best practices
    • Build and Development
      • Build
      • Generating JARs
      • Versioning
      • Baselining
      • Service Components
      • Metatype
      • Contracts
      • Bundle Annotations
      • Accessor Properties
      • SPI Annotations
    • Dependency and Launching
      • Resolving Dependencies
      • Launching
      • Startlevels
    • Testing
      • Testing
      • Testing with Launchpad
    • Packaging and Distribution
      • Packaging Applications
      • JPMS Libraries
      • Wrapping Libraries to OSGi Bundles
    • Documentation and Tools
      • Generating Documentation
      • bnd CLI Commands
      • For Developers
      • Templates for Workspaces
      • Tips for Windows users
      • Tools bound to bnd
    • Reference Material
      • Reference
      • Headers
      • Instruction Reference
      • Instruction Index
      • Macro Reference
      • Macro Index
      • Plugins
      • External Plugins
    • Configuration and Troubleshooting
      • Settings
      • Errors
      • Warnings
  • -runvm KEYS

    Prev Next
    Project
    Additional arguments for the VM invocation. Arguments are added as-is.

    • Example: -runvm=-Xmax=30, -DsecondOption=secondValue

    • Pattern: .*



    The -runvm instruction allows you to specify additional arguments that will be passed directly to the Java Virtual Machine (JVM) when launching your application. These arguments are added as-is to the command line and can be used to set system properties, enable debugging, adjust memory settings, or configure other JVM options.

    This is useful for customizing the runtime environment of your application without modifying the code or build process.


    TODO Needs review - AI Generated content

Prev Next
Search
    • Home