Change minimal build to java 7

gh-17