title: BundleException while trying to start an osgi bundle
body: <p>I'm trying to install &amp; start a bundle from a osgi jar in the filesystem</p>
  
  <pre><code>Bundle bundle = context.installBundle("reference:file:" + fullPath);
  bundle.start();
  </code></pre>
  
  <p>it worked for another simple bundle, but another more complex bundle has </p>
  
  <pre><code>Require-Capability: osgi.ee;filter:="(&amp;(osgi.ee=JavaSE)(version=1.8))"
  </code></pre>
  
  <p>in its manifest</p>
  
  <p>this causes the following exception</p>
  
  <pre><code>(org.osgi.framework.BundleException) org.osgi.framework.BundleException: Unresolved constraint in bundle
  Unable to resolve 42.0: missing requirement [42.0] osgi.ee; (&amp;(osgi.ee=JavaSE)(version=1.8))
  </code></pre>
  
  <p>how do I add this capability to my project?
  also how would I remove this require from the other project?</p>
  
  <p>all similiar questions I found didn't answer my question</p>
  
  <p>thanks in advance for any answers and for helping me not pull out my hair :)</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>as christian suggested I tried finding the configuration to felix in netbeans, as the felix framework is loaded by netbeans. I found some configurations inside the maven POM file, but could not use the "org.osgi.framework.system.capabilities" framework property which was mentioned by christian, which I couldn't find in the documentation.
  I am putting a bounty as this is really important for me to resolve and is the only thing preventing me from using OSGi as far as I can see</p>