Update to Java 1.4.1 for a start:
http://docs.info.apple.com/article.html?artnum=120242
Don't forget to then do a safe reboot (hold down SHIFT key whilst rebooting until you see the safe booting message), then open Utilities folder, open Disk Utility, repair permissions, then reboot normally.