While the exact cause of this error is not known, it is worth checking if you have fulfilled all the system requirements for Java. If you are using a Windows system ...
You can enable Javascript on a Mac by going into your browser's Preferences menu. In Safari, you'll find the Javascript option in the Security tab.