I had the same issue with my computer awhile back. The way I fixed it was the following steps: > Start
> Open your Control Panel
Then select uninstall a program,
Search Java in the top right.
You should come up with numerous results,
Now you should uninstall every single one of the java results. After you've completed that, restart your computer and re-install java, then restart your computer and everything should work again :3