deactivate java8 code