1

I am using KURA on my OSGI developpement, it is running above Eclipse Equinox, I want to be able to use the classes of the "com.sun.net.httpserver.*" in my bundle.

I found out under this link (Use restricted class in an OSGi Bundle) that I have to specify it through the system bundle using the OSGi framework property:

org.osgi.framework.system.packages.extra=...

My problem is I don't know where to set this propertie. Any idea?

Community
  • 1
  • 1
sabrina2020
  • 2,102
  • 3
  • 25
  • 54

1 Answers1

2

You would need to provide this as an argument (-Dorg.osgi...) when bootstrapping Kura. See the start.sh file in /opt/eclipse/kura/bin.

kartben
  • 2,485
  • 21
  • 24