Fortunately, the fix is straightforward.
Go to java.com/en/download and find out if your browser has Java turned on. You should see a moving image and the website will tell you if your browser is Java-enabled.
Try one of these solutions if you see an error message on the Java site:
2. Enable Java in Internet Explorer
Click Start -> Control Panel -> Internet Connections -> Tools -> Internet Options -> click the Advanced tab, scroll down to the Java heading, and put a check in the box next to Java. Next, Click the Security tab, and Custom Level at the bottom. Choose Scripting of Java applets, Click Enable and OK.
Go to the Java download page at java.com/en/download and if you see a message telling you that you don’t have the recommended version of Java installed, download the new version from the page and install it on your PC.
4. Clear Temporary Files
Open Internet Explorer and go to Tools -> Internet Options and under the General tab, click Delete Cookies, Delete Files and Clear History. This will ensure your browser loads pages with the new Java plugin installed.
5. Clean your computer’s registry
The computer registry is similar to a library, that stores files to run programs like Outlook. Over time, as software and files are installed and removed, and everyday programs opened more frequently than others, your registry ends up disorganized with files scattered everywhere. Clean your registry to make sure your file system is up to date and easy for your computer to access.
6. Spyware or virus
More concerning, is that a Java error could be a symptom of spyware or virus on your PC. If your files have been corrupted or moved, you may want to check your hard drive by scanning your computer for Spyware. You can get rid of Spyware immediately with an antivirus program.