Go into Control Panel > Programs > Uninstall a Program and look for an entry usually starting with Java....... and uninstall it.
Then go here and install a fresh copy. http://www.java.com/en/
You can always keep these things up to date using Vulnerability Manager in SecurityCenter > PC and Home Network Tools. but normally Java updates automatically. In your case perhaps it became corrupted.