Update README.md

Correct type and we need java 7.