On Oct 14, 2009, at 22:18 , Niko_K wrote:

I could not solve this problem, even with trying to add the package to the
Import-Package property in the MANIFEST:MF file.

That's one half of the solution!

Is there another way to import these classes? Can i even import the LAF
classes in an OSGI bundle?


Something needs to export those classes too. In this case, since they're part of the JDK, this should be the system bundle. Check out the documentation on the Felix on how to do that:

http://felix.apache.org/site/apache-felix-framework-usage-documentation.html#ApacheFelixFrameworkUsageDocumentation-configuringframework

Look for: org.osgi.framework.system.packages.extra

Greetings, Marcel

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to