Remove java 7 build as code is in java 8 version.