I reckon an ounce of prevention is worth a pound of cure.
Checkout Apple Software update on your machine and you should see a Java update file in the window as I did on my machine a few minutes ago. If its there download it and add it to whatever other software you happen to use.
Cheers,
Andrez