Using openjdk since oraclejdk6 is not supported on travis-ci