Hi!

Simone Chiaretta wrote:
the libXp.so lib is a lib from X server...
But I'm running the webserver on a just text server, so, no Xfree...
I'm wondering if X is needed to use some awt methods (like the
Toolkit.getImage())... or JPEGEncoder
the piece of code that seems to generate the error is:
Image image1 = Toolkit.getDefaultToolkit().getImage(sourceFileName)

Indeed many of the image manipulating capabilities of java.awt need a running X-server to connect to. I have not yet used the new headless feature, but afaik all your classes that use awt components but do not need a head have to implement the new headless interface. Have you done that?


HTH

Phil


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



Reply via email to