Switched travis configuration to jdk7