Merge pull request #22 from simonwagner/master

fix compilation error when building with maven
removed bad import
fixed bad jdk dependency

using 1.6 instead of 1.7