upgrade for java8