JFreeChart on Synology DS213j NAS

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
arminus
Posts: 2
Joined: Thu Nov 27, 2014 2:52 pm
antibot: No, of course not.

JFreeChart on Synology DS213j NAS

Post by arminus » Thu Nov 27, 2014 3:00 pm

Hi,

JFreeChart (latest version) seems to have problems when deployed on a Synology DS213j NAS (running Java(TM) SE Embedded Runtime Environment (build 1.7.0_45-b15, headless)), a chart produced on this box looks like this:

Image

It seems as if only text is rendered, but all line drawings are missing. The same code produces a perfectly fine looking chart on Linux or Windows.

Any ideas?

Thanks,
Armin

arminus
Posts: 2
Joined: Thu Nov 27, 2014 2:52 pm
antibot: No, of course not.

Re: JFreeChart on Synology DS213j NAS

Post by arminus » Thu Nov 27, 2014 3:32 pm

BTW: Running this with or without -Djava.awt.headless=true makes no difference, running it with -Djava.awt.headless=false however throws this:

Code: Select all

java.lang.UnsatisfiedLinkError: /volume2/@appstore/java7/jre/lib/arm/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
Could this missing library by the reason? (X11 is obviously not available on a NAS) On the other hand, I've read things which indicated that JFreeChart works fine in a headless env?

Locked