using jdk 7 for travis build