How to Fix Java and JavaScript Errors

Java errors can result from incompatible or outdated software programs. A great place to start if you are experiencing Java and Javascript errors is by updating your Microsoft and Java software.

Using Windows Updates you can install the latest service packs for your operating system and you can install the latest version of Java from the Sun Microsystems website. This will ensure that your computer programs are compatible with the applications that you are trying to use.

Unlike some other downloadable programs, newer Java installations are compatible with older versions, so there is no need to purge your system of existing software first.

However, there are a number of different Java error messages that indicate that an installation attempt has failed. If this happens, the manufacturer recommends that you start by removing all traces of the failed installation from your computer to prevent interference before trying again.

  • In Windows, click the Start button, then choose Settings
  • Choose the Control Panel, then click twice on Add/Remove Programs
  • Now a pop up will open and show a list of all your programs
  • Scroll to the Java listing and then click Remove

Once you have removed the old installation, you can try the Java manual offline download option on the Sun Microsystems site.

JavaScript is different from Java, and is not part of the Java platform. JavaScript errors often result from web browser settings that aren’t properly set to enable the technology. The first thing to do to resolve these issues is ensure that your settings are set in Internet Explorer.

  1. From the menu bar at the top of the screen, choose Tools, then Internet Options to open the dialog box
  2. Choose the Security tab, and then Custom Level
  3. This will open another dialog box called Security Settings
  4. Scroll to Scripting of Java Applets
  5. Choose Enable
  6. Click OK, then OK again

If you are using the Mozilla Firefox web browser, follow these steps:

  1. From the browser menu bar at the top of the screen, choose Tools, then Options
  2. Choose Web Features
  3. Check the Enable JavaScript box option
  4. Click OK

If the web browser settings show that JavaScript is already enabled, then the error is most likely in the code of the application that you are trying to run, In this case, there isn’t anything that you can do to resolve the issue, other than contacting the creator and reporting the error. You can, however, stop the error messages from displaying on your computer by adjusting your Web browser’s “script debugging” settings. Go to Tools > Internet Options > Advanced > Browsing and find the two options addressing script debugging. One is for disabling script debugging in Internet Explorer, the other is for disabling script debugging in “Other.” Place a mark in each of these boxes. Just below these two options is an option that should NOT be selected: display a notification about every script error.

Java and JavaScript errors sometimes occur when applications that you are trying to run are blocked by your computer’s firewall. If you suspect this could be the case, adjust your firewall settings to allow the application or website.