add java8 version
Merge pull request #22 from matsumana/feature/java8

add java8 version