Update travis to include Java 6
s/nil/null for Java