[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/35369] awt.images and Gtk-WARNING **: cannot open display:
From: |
roman at kennke dot org |
Subject: |
[Bug awt/35369] awt.images and Gtk-WARNING **: cannot open display: |
Date: |
26 Feb 2008 08:56:58 -0000 |
------- Comment #1 from roman at kennke dot org 2008-02-26 08:56 -------
Hi,
> When using java.awt.image.BufferedImage; the corresponding program fails to
> run
> when no X display is available although it does not make use of the display.
> I've tried to set -Djava.awt.headless=true on the command line, without any
> positive effect.
Looks like you are trying to render into a BufferedImage which is accelerated
by using an X Pixmap. How do you create the BufferedImage, via new
BufferedImage(...) or by calling
GraphicsConfiguration.createCompatibleImage(..)? I think the latter could be a
problem without GTK. Maybe you could provide a small test program?
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35369