I added the JAI jars to %JAVA_HOME%/jre/lib/ext and now the TIFFDecodeParam class is found.
Can I conclude that when a package is in bootdelegation (com.sun.*) then no sub package can be provided by bundles (com.sun.media.jai.*)? If this is true then we're facing an implementation mistake since it is clearly stated in OSGi r4 spec PDF, page 54-278, that bootdelegation is used first (step 2), but if it cannot resolve the class name, then the resolution continues normally (step 3). Have you already experienced something similar? Elvy wrote: > > Hi all, > > Here's the situation: > - I have in bootdelegation => sun.*, com.sun.* > - I have the jai API (+ native libs) in my bundle > > When I run my program, I end up with "java.lang.NoClassDefFoundError: > com/sun/media/jai/codec/TIFFDecodeParam". > > As you can see my TIFFDecodeParam is in the com.sun package. I just don't > know how what to do to make this work. > > So you know, my manifest does contain all the com.sun.media.jai packages > as Private-Package. > > heeeeeeeeeeeeeeeeeeeeeeeeelp > > http://www.nabble.com/file/p14915679/osgi_class_resolution.gif ----- Tell me something you don't know! -- View this message in context: http://www.nabble.com/bootdelegation-of-com.sun.*-and-NCDFE-of-com.sun.media.jai.codec.TIFFDecodeParam-tp14885390p14915679.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

