Closed GoogleCodeExporter closed 9 years ago
You need to tell the JDK that you do not have a graphics head. The simple way
to do
this in java is to set the flag java.awt.headless to true.
In the current JChav docs/example you can do this by adding a parameter to the
ant run :
ant -f build-example.xml -Djava.awt.headless=true
Original comment by paul.goulbourn
on 22 Dec 2007 at 11:20
Original comment by paul.goulbourn
on 22 Dec 2007 at 11:30
Test note: I was able to reproduce this problem on a headless RHEL machine only
if I
explicitly set the DISPLAY variable. Unseting the DISPLAY variable may also
resolve
this.
Original comment by dalla...@gmail.com
on 22 Dec 2007 at 12:56
Original issue reported on code.google.com by
morttall...@gmail.com
on 31 Aug 2007 at 1:34