ENG-6299 Added error message when no java version is detected