You import the package like any other library in your manifest. The framework itself is then responsible to export it if your execution environment supports it and the framework is correctly set up.
Cheers Niclas On Sat, Jan 10, 2009 at 5:49 PM, Miguel <m...@moviquity.com> wrote: > Hello, > > I m running an OSGI platform which send mails. I m using the library > javax/net/SocketFactory which is inside rt.jar but my OSGI platform doesnt > find. > > Exception in thread "SendMailThread" java.lang.NoClassDefFoundError: > javax/net/SocketFactory > at > com.sun.mail.util.SocketFetcher.getSocketFactory(SocketFetcher.java:262) > at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:150) > at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359) > > how can include this library in runtime enviroment? > > thank you , > > M > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev > _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev