Run with java.awt.headless true