Removed typo
Removed java 7 library calls