Hmmm not sure which windows version you are using.
In WinXP start>control panel>add or remove programs ---- you can remove your java from there.
After removal of your old java you can download the new java to your comp. and install from there. Do not install over the net. This link is for the new java.
http://java.sun.com/j2se/1.5.0/download.jsp