Yeah you need to have a X server installed, even if you aren't drawing the
image to the screen, the Java AWT requires this.  JRE 1.4 will not have this
requirement.

There are some ways around this...

1) Use Pure Java AWT http://www.eteks.com/pja/en/
2) Install an X Server (xvfb does not require display hardware)
3) Wait for JRE 1.4

________________________________________
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
ColdFusion Developers Resources
http://www.cfdev.com/



-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Alireza Nahavandi
Sent: Tuesday, June 26, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: Image properties on UNIX


Hi all,
I have a program which tries to get the width and height of an image. I use
java Frame as observer component. Program works fine on NT servers but on
Unix server it doesn't. There is no error message and program just halts. It
seems there are some server setting on Unix when using java Frames, does
anybody know about this? or is there any other way than Frames to get those
properties?

Thank you,

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to