Make sure to install the right headless jre