Hello.

Jean-Claude Moissinac wrote:
When I have this problem, I'm working with Freebsd and Cocoon 2.1.7.
When I try to display a JPEG image from an SVG (like in the batik block samples)
I get this error:

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the
value of the DISPLAY variable.


Batik needs a X display for converting SVG to gif/jpeg image. If you're using a >1.4.x JVM version, you can use the -Djava.awt.headless=true. If you're using an older JVM version, you can consideer installing and using xvfb.

Regards.

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

Reply via email to