use headless JRE