Changing java version to 7 in travis configuration