Now it works! I have configured delegate loading in the configuration file!
I put org.osgi.framework.bootdelegation = in config.ini.
You both told me this before you guys hehe. Now I read in the wiki that, after the OSGi specification, I need to define every package that I need to use, and I think that it is correct, because some configured virtual machines may have more libs than others.
But Eclipse does not work in this import concept of every java package (e.g. javax.swing). I will report this in Eclipse Bugzilla.
Thanks a lot to both of you!
PS: What is your @Neil book?
John john pichler
source share