Open notepad. Copy and paste this:
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Classes\.exe\shell\open\command]
[-HKEY_CURRENT_USER\Software\Classes\secfile\shell\open\command]
[-HKEY_CLASSES_ROOT\.exe\shell\open\command]
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"
[-HKEY_CLASSES_ROOT\secfile]
and save it as a .reg file (make sure in notepad on the bottom it says "all files" and not just "text files" in the drop down menu). double click the file once it's saved. See if that works.
Other solutions that I would try would be to re-install java, and install ms vbm. You can also download a program called ccleaner and use the registry tool.