Java 2 version 1.4 has a solution for headless environments. So you should
use the newer JDK (Perhaps Oracle a newer version to solve this problem).
Here is what Sun says about that:
http://java.sun.com/j2se/1.4/docs/guide/awt/AWTChanges.html

Regards,
--
Jose'



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Shahzad
> Latif
> Sent: October 7, 2002 5:11 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] load image issue
>
>
> Hi:
>
> We are trying to load an image using Oracle's JVM. Unfortunately,
> Oracle JVM
> does not support any GUI (i.e., we cannot materialize any GUI). For some
> reason, we have to use java.awt instead of iText's image class. iText is
> always succesfull in loading the image (GIF, JPEG), but unfortunately,
> java.awt is not. It gives the following message: "GUI not
> supported". I was
> wondering if someone could share some workaround for this. Here
> is the line
> which gives the error:
>
>     Image image = Toolkit.getDefaultToolkit().getImage(fileName);
>
> Many thanks,
>
> Shahzad
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to