fixed java8 provision issues