I'm trying to install & start a bundle from a osgi jar in the filesystem

```
Bundle bundle = context.installBundle("reference:file:" + fullPath);
bundle.start();

```

it worked for another simple bundle, but another more complex bundle has 

```
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"

```

in its manifest

this causes the following exception

```
(org.osgi.framework.BundleException) org.osgi.framework.BundleException: Unresolved constraint in bundle
Unable to resolve 42.0: missing requirement [42.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))

```

how do I add this capability to my project?
also how would I remove this require from the other project?

all similiar questions I found didn't answer my question

thanks in advance for any answers and for helping me not pull out my hair :)

**Edit:**

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