gg,
Go to control panel>java then select the update tab and follow instructions.
Original poster was discussing a JavaScript error.
Updating Java will have no effect on JavaScript.
The Java software deals with compiled Java (i.e. applets etc.).
JavaScript is dealt with internally by the web browser.
Therefore, the correct suggestion from you would have been to tell the poster to update his web browser (firefox or windows updates for IE).
Sorry to be pedantic.