• Intro Headers Instructions Macros Commands
  • Fork me on GitHub
    • 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
    • Plain JUnit Testing with OSGi (PRELIMENARY)
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • Commands
    • For Developers
    • Tools bound to bnd
    • Headers
    • Instruction Reference
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Plugins
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • -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
    
    • GitHub