Change box for java8