Add check that java is really installed.