Ben Munat schrieb:
> Christian Bricart wrote:
>
>> - the ability to use xlibs from e.g. Tomcat ("-Dheadless=true"
>> setting on
>> startup)
>
> As far as I understand, starting Tomcat with -Djava.awt.headless=true
> you don't need to have *any* X packages installed... as long as you're
> running the sun jdk. This doesn't work with Blackdown, last I checked.
> When I was running Blackdown, I ran the X virtual frame buffer (Xvb or
> Xvfb?).
IIRC, you still need to install the X11 libs for X. The Java Advanced
Imaging API calls the local X-server on UN*X to get font and scaling
data (more like a image-co-processor). If you set the JVM
java.awt.headless" property to true, it interacts directly with the
(X)libs installed rather than trying to connect to a local X-server
(running on :0.0 or $DISPLAY)
Christian
--
[email protected] mailing list