support java 8
travis run test on java 8