Fixed travis-ci to use openjdk6