fixing java through alternatives