downgrade to jdk 7 to enable travis build