downgraded travis build to jdk6 only to pass builds