Fixed java version conflict issue