Hope this works for you!
Go to the following site: http://www.java.com/en/download/windows_automatic.jsp
The message below will appear on the site and is very important
Windows XP SP2 users: if you encounter an error, look at the top of this page for a yellow bar that reads "This site might require the following ActiveX control: 'Java Plug-in 1.5.0_02' from 'Sun Microsystems, Inc.'. Click here to install..." Click the yellow bar and choose "Install ActiveX Control..." to allow installation to proceed.