I'm running a java app which creates a visual display of some of the things it is doing, while it is doing it. However, I'm want to run this in a script that won't have a display to attach to. In the current environment, there isn't even a DISPLAY environment variable set. I tried to simply set my DISPLAY to :0.0. But that doesn't exist. I don't really care about the display. I just want the app to process the files silently.
Since I can't just turn the display off(not my app), I'm left with trying to get around the need for display.
Is there a black hole that I can send the DISPLAY to? an equivalent to /dev/null?
I searched around for a bit on the web, but the words I could think of to use: "display" "null" "disregard" etc are all two generic to get me to an answer.
This is the middle of a larger script, so I want the rest of the output to stdout to be available.