Welcome here, you don’t include the version of Windows you are using.

If it’s Xp and not fully patched and you want to uninstall M$ version of Java because of vulnerabilities you can follow the instructions on this site

http://www.windows-help.net/WindowsXP/howto-21.html