Menu

#1 Tries to connect to X Window

open
nobody
5
2006-01-07
2006-01-07
Josh Rogers
No

This program has no GUI, so it shouldn't need an X
Window, right?

$ /usr/local/src/java/j2re1.4.2_10/bin/java -
jar /usr/local/src/bzstats/bzstats.jar
~bzfs/logs/bzstats.5154 /var/www/stats/bzstats5154.html
Exception in thread "main" java.lang.InternalError:
Can't connect to X11 window server using ':0.0' as the
value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay
(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>
(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironmen
t(Unknown Source)
at java.awt.Font.initializeFont(Unknown Source)
at java.awt.Font.<init>(Unknown Source)
at org.jfree.chart.plot.Plot.<init>
(Plot.java:246)
at org.jfree.chart.plot.XYPlot.<init>
(XYPlot.java:374)
at org.jfree.chart.plot.XYPlot.<init>
(XYPlot.java:358)
at bzstats.chart.KillRatioHistoryChart.getChart
(Unknown Source)
at bzstats.chart.AbstractChartFactory.getImage
(Unknown Source)
at bzstats.tool.BzStats.createHistoryChart
(Unknown Source)
at bzstats.tool.BzStats.main(Unknown Source)

# uname -a
Linux silvercat 2.4.27-2-386 #1 Mon May 16 16:47:51
JST 2005 i686 GNU/Linux

Debian

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.