• 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
  • -runee EE

    The -runee instruction adds the capabilities of an execution environment to the system capabilities. Every Java edition has a set of standard packages and OSGi has also defined a number of execution environments that define which packages can be found. The -runee allows these capabilities to be defined by using the name of the execution environment. Additionally, this instruction also adds an osgi.ee requirement with the given name and version. You can use the following execution environment names:

    OSGi/Minimum-1.0
    OSGi/Minimum-1.1
    OSGi/Minimum-1.2
    JRE-1.1
    J2SE-1.2
    J2SE-1.3
    J2SE-1.4
    J2SE-1.5
    JavaSE-1.6
    JavaSE-1.7
    JavaSE/compact1-1.8
    JavaSE/compact2-1.8
    JavaSE/compact3-1.8
    JavaSE-1.8
    JavaSE-9
    

    An example:

    -runee: JavaSE-1.8
    
    • Contact
    • Developers
    • More