Fix service installation. Install JDK.