Return-Path: Mailing-List: contact gump-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list gump@jakarta.apache.org Received: (qmail 40644 invoked from network); 14 Oct 2003 22:21:44 -0000 Received: from unknown (HELO mx1.try.sybase.com) (130.214.10.19) by daedalus.apache.org with SMTP; 14 Oct 2003 22:21:44 -0000 Received: from mail.try.sybase.com (mail.try.sybase.com [130.214.10.18]) by mx1.try.sybase.com (8.11.6/8.11.0) with ESMTP id h9EL9L210255 for ; Tue, 14 Oct 2003 15:09:21 -0600 Received: from tsws1 ([158.159.8.38]) by mail.try.sybase.com (8.11.6/8.11.6) with SMTP id h9EM4f318887 for ; Tue, 14 Oct 2003 16:04:42 -0600 Message-ID: <083301c392a0$dd8d6640$6200f5d1@tsws1> From: "Adam R. B. Jack" To: "Gump code and data" Subject: Issue: Can't connect to X11 Date: Tue, 14 Oct 2003 16:16:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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.(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