Switch to java 6 for the Travis CI