Use headless JRE for smaller image