gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <aj...@trysybase.com>
Subject Issue: Can't connect to X11
Date Tue, 14 Oct 2003 22:16:11 GMT

http://gump.dotnot.org/xml-xerces2/build/build_xml-xerces2_dist-xerces.html

java] Exception in thread "main" java.lang.InternalError: Can't connect to
X11 window server using ':0.0' as the value of the DISPLAY variable.
     [java] 	at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
     [java] 	at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125)
     [java] 	at java.lang.Class.forName0(Native Method)
     [java] 	at java.lang.Class.forName(Class.java:140)
     [java] 	at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:62)
     [java] 	at
java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
     [java] 	at org.apache.stylebook.printers.ImagePrinter.print(Unknown
Source)
     [java] 	at org.apache.stylebook.BasicEntry.create(Unknown Source)
     [java] 	at org.apache.stylebook.Project.create(Unknown Source)
     [java] 	at org.apache.stylebook.StyleBook.main(Unknown Source)

Ought I consider adding:


    forrest.addPrefixedParameter('-D','java.awt.headless','true','=')


.. to all Ant/Script invokes, not just forrest?

Ought I do this in code, or in the workspace, or expect the user to handle
it [somehow]?

regards

Adam
--
Experience Sybase Technology...
http://www.try.sybase.com


Mime
View raw message