JFreeChart on Linux without Window Manager

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Windwalker
Posts: 9
Joined: Wed Oct 15, 2008 1:13 am

JFreeChart on Linux without Window Manager

Post by Windwalker » Wed Nov 12, 2008 7:41 am

Hi there,

I have a long running simulation that at the end shall create some charts.
It's running on my local machine, but when I start it on the powerful linux server, it doesn't work, since there is no window manager.

Is there a possibility to export PNGs with JFreeChart without a window manager?

Thanks for your help!

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Post by matinh » Wed Nov 12, 2008 11:42 am

I doubt that the problem is a missing window manager. It's more likely that you have no X-server and no DISPLAY variable set. Are you able to start other X11/Java applications?

However, this question is not related to JFreeChart and you should probably ask on some X11/Linux/whatever mailinglist or forum.

hth,
- martin

Taqua
JFreeReport Project Leader
Posts: 698
Joined: Fri Mar 14, 2003 3:34 pm
Contact:

Post by Taqua » Wed Nov 12, 2008 1:10 pm

... or read the FAQ, the well known always repeated yet still never read item 11. Activate the headless mode.

Or simply study the README file of your JDK.

Locked