Compile with jdk6 profile on travis-ci