Hi,

On Jun04, 2002 12:09 -0400, Desarrollo e Investigacin wrote:
> 
> I've been worked with Servlet and i tried to generate
> a JPG image but Tomcat Displays this error:
> 
> java.lang.InternalError: Can't connect to X11 window
> server using ':0' as the value of the DISPLAY variable.
> at 
> sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
................
> I use the Tomcat 4.0.4-b3, Java 1.4.0, Linux Red Hat 7.2

Because you are using JDK 1.4, please try:
   -Djava.awt.headless=true
option in your start-up script.
For details, please read:
http://java.sun.com/products/java-media/2D/forDevelopers/java2dfaq.html#xvfb

Happy Java programming!
----------------------------------
Jun Inamori
OOP-Reserch
E-mail: [EMAIL PROTECTED]
URL:    http://www.oop-reserch.com/

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

Reply via email to