feat #17 Supports java version 1.6 and more.
Merge pull request #20 from GerardPaligot/feat_17