Why have you got Sun’s JAVA installed on your system?
If you need/use it then no problem, but you should ensure that it is up to date and avoid the exploit, that avast! warned about.
You can also switch off JAVA in your security settings.