move to java8 and stop using -f