You need to uninstall Microsoft Security Essentials. You
cannot run two realtime AV apps at the same time.
No idea what kind of virus you ended up with since you
still haven't attached the log despite being repeatedly asked to do so.
As for the Java stuff, just clear the cache via Java control panel.
C:\Documents And Settings\All Users\Application Data\Avast Software\Avast\report\aswBoot.txt (2000, XP)
C:\ProgramData\Avast Software\Avast\report\aswBoot.txt (Vista, 7)
Attach it.