updated travis tests to support jdk7