changing java version from 1.7 to 1.6 (travis seems to have issues with
1.7)