AWT and X11 font dependencies

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Ankur

AWT and X11 font dependencies

Post by Ankur » Fri Jun 14, 2002 3:28 pm

Hello.

I have looked at many different charting utilities but each one of them lack something or other. One of the biggest problems we are facing right now is that most charting utilities make use of java.awt package. If we want to run this on a headless unix server (does not have X installed at all), it creates problems. AWT package requires certain fonts and X11 libraries installed for the charting to work.

I have also looked at other utilities such as PJA and xvfb but those utilities would make it very complicated to implement on all of our servers/layers/etc.

Do you have any suggestions here? Is anyone else using this charting utility on a unix server that does not have X-windows installed? Does the author provide an alternate solution for this problem?

Your reply would be greatly appreciated.

Thanks.

-- Ankur

David Gilbert

Re: AWT and X11 font dependencies

Post by David Gilbert » Mon Jun 17, 2002 11:03 am

Writing a chart library without AWT wouldn't be much fun!

I think JDK 1.4 includes "headless" support, but I haven't tried it. There's been various discussions about it in the forum in the past...searching for "X11" finds most of the threads.

Regards,

DG.

Locked