Adding support for travis. Set JDK to Java 7