If you have Java installed, remove it using Revo Uninstaller, then do a reinstall of Java.
Hmm... I tried that too, but it didn't work. I used Revo Uninstaller Pro to uninstall Java, then restarted my computer, then installed the newest version of java (which I had before), then restarted my computer, but it still gives me the same error message. Could there be something else on my computer interfering with java? This is the first time I've ever ran into this problem.