You might want to make that

Import-Package: javax.imageio

it needs to be the package not the Class.

regards,

Karl

On 9/18/07, Garrett Headley <[EMAIL PROTECTED]> wrote:
> Hey there
>
> I have a question about the Import-Package attribute in the manifest file.  
> For a simple example, I modified the extenderbased.circle such that instead 
> of drawing the circle, I tried to load the png from the file to draw the icon 
> to the frame (in the draw method of Circle).  So, using javax.imageio.ImageIO 
> to read the image in, I had to import a non-java.xxx package.  So, I placed 
> "Import-Package: javax.imageio.ImageIO" in my manifest file.  However, now 
> when the circle bundle is loaded, I get the host of exceptions following the 
> "ClassNotFound" exception for javax.imageio.ImageIO.  I have no trouble 
> importing the SimpleShape interface with it's package name as an attribute, 
> but for some reason it's not working with the javax.* packages.
>
> Should be pretty easy to reproduce... I'm using java 1.5SE.
>
> Thanks in advance for any help
> Garrett
>
>
> ---------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
> news, photos & more.


-- 
Karl Pauls
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to