HV-884 Switching build to use JDK 8