Trying some new travis instructions to use more modern jdk compliance

Got the idea from this post:
http://stackoverflow.com/questions/15602738/java-generics-and-annotations-not-supported-in-version-1-3-travis-integration