I’ve got a quil sketch that I’m compiling to an uberjar, and I’d prefer to be able to configure the uberjar without opening a graphics window at all. However, even if I do create-graphics
manually (https://github.com/quil/quil/wiki/Create-PDFs) it appears I still get a blank window with the specified :size
. Is there a way to avoid that?
I don't know anything about Quil, but perhaps setting the jvm property
-Djava.awt.headless=true
Thanks Alex. That caused Processing to raise an error, and the error message points to some documentation that shows how to setup and run Xvfb
on Linux. The same page suggests -Djava.awt.headless=true
“may be all you need” but “for most cases this is less likely to work” than the virtual framebuffer approach.
Cannot run sketch without a display. Read this for possible solutions:
<https://github.com/processing/processing/wiki/Running-without-a-Display>