Of course he needs java... I had the same problem. Just update it manually by downloading the correct binary from the official website, run the setup, install it and restart the PC.
Check Avast!'s software updater. If it is still trying to update, click refresh, if that's a no-go restart again.
Guaranteed to work.
Good luck!