Steps to reproduce:
1. unset DISPLAY
2. java -jar ProjectX.jar -demux
Tested this on 0.90.4, 0.91, and a fresh CVS copy.
Console output:
[...snipped a lot...]
[-demux, -tom2p, -topva, -tovdr, -tots, -filter] ..action types
Loading Basic Classes...
Multicolor OFF / switches 00000000
(.:3867): Gtk-WARNING **: cannot open display:
$ echo $?
1
Expected:
[snip]
Loading Basic Classes...
Multicolor OFF / switches 00000000
Reading CLI Switches...
Preparing GUI (if enabled)...
Check Commons-Net library access...
Loading AC3 frames...
Error: No Collection to Process ...
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
The environment, in case it matters:
java.version 1.5.0
java.vendor Free Software Foundation, Inc.
java.home //usr/lib/jvm/java-1.5.0-gcj-4.4/jre
java.vm.version 4.4.5
java.vm.vendor Free Software Foundation, Inc.
java.vm.name GNU libgcj
java.class.vers 49.0
java.class.path ProjectX.jar
os.name Linux
os.arch i386
os.version 2.6.32.59
Last edit: Anonymous 2014-05-09
read http://forum.dvbtechnics.info/showthread.php?t=2057
try java -Djava.awt.headless=true -jar ProjectX.jar
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
That does not seem to work with the gnu version of java. I'll have to test with openjdk.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Apparently, the headless version of the GNU JRE (gcj-4.4-jre-headless) doesn't work either, since it doesn't contain java.awt.* which the code requires =/