move to java 7

M
Merge pull request #2 from msimonin/master

move to java 7