#101 Error without X11

open
nobody
None
5
2009-09-21
2009-09-21
Anonymous
No

I just upgraded from 0.4.0 to 0.6.0 and get an error when i use statcvs.

Error message:
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'adnws026.zh.adnovum.ch:0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Font.initializeFont(Font.java:308)
at java.awt.Font.<init>(Font.java:344)
at org.jfree.chart.renderer.AbstractRenderer.<clinit>(AbstractRenderer.java:163)
at net.sf.statcvs.output.ConfigurationOptions.<clinit>(ConfigurationOptions.java:93)
at net.sf.statcvs.Messages.getString(Messages.java:59)
at net.sf.statcvs.Main.main(Main.java:61)

Therefore I start it now with the -Djava.awt.headless=true property. But in the 0.4.0 version this was not necessary.

Discussion