1. Technology

Disabling (or Enabling) the Java Plugin in a Browser

By

Businessman using laptop in cafe
Jose Luis Pelaez Inc./Blend Images/Getty Images

The Java plugin is part of the Java Runtime Environment (JRE) and allows a browser to work with the Java platform to run Java applets to execute in the browser.

The Java plugin is enabled in a large number of browsers around the world and this makes it a target for malicious hackers. Any popular third-party plugin is subjected to the same kind of unwanted attention. The team behind Java have always taken security seriously and they will endeavor to quickly release an update to patch any serious security vulnerabilities found. This means the best way to minimize problems with the Java plugin is to make sure it is up-to-date with the latest release.

If you are really worried about the security of the Java plugin but still need to visit a popular website (e.g., online banking in some countries) that need the Java plugin enabled, then consider the two browser trick. You can use one browser (e.g., Internet Explorer) only when you want to use the websites using the Java plugin. For the rest of the time use another browser, (e.g., Firefox) with the Java plugin disabled.

Alternatively you might find that you don't go to websites that use Java very often. In this case you may prefer the option of disabling and enabling the Java plugin as needed. The instructions below will help you to set up your browser to disable (or enable) the Java plugin.

Firefox

To turn on/turn off Java applets in the Firefox browser:

  1. Select Tools -> Add-ons from the menu toolbar.
  2. The Add-ons Manager window appears. Click on Plugins on the left-hand side.
  3. In the list on the right select the Java Plugin - the name of the plugin will vary depending on whether you are a Mac OS X or Windows user. On the Mac it will be called Java Plug-in 2 for NPAPI Browsers or Java Applet Plug-in (depending on the operating system version). On Windows it will be called Java (TM) Platform.
  4. The button to the right of the selected plugin can be used to enable or disable the plugin.

Internet Explorer

To enable/disable Java in the Internet Explorer browser:

  1. Select Tools -> Internet Options from the menu toolbar.
  2. Click on the Security tab.
  3. Click on the Custom level.. button.
  4. In the Security Settings window scroll down the list until you see Scripting of Java applets.
  5. Java applets are Enabled or Disabled depending on which radio button is checked. Click on the option you want and then click OK to save the change.

Safari

To enable/disable Java in the Safari browser:

  1. Select Safari -> Preferences from the menu toolbar.
  2. In the preferences window click on the Security icon.
  3. Make sure the Enable Java check box is checked if you want Java enabled or unchecked if you want it disabled.
  4. Close the preferences window and the change will be saved.

Chrome

To turn on/turn off Java applets in the Chrome browser:

    1. Click on the wrench icon to the right of the address bar and choose Settings.
    2. At the bottom click the link called Show advanced settings...
    3. Under the Privacy section click on Content settings...
    4. Scroll down to the Plug-ins section and click on Disable individual plug-ins.
    5. Look for the Java plugin and click on the Disable link to turn off or the Enable link to turn on.

    Opera

    To enable/disable the Java plugin in the Opera browser:
    1. In the address bar type in "opera:plugins" and hit enter. This will display all the installed plugins.
    2. Scroll down to the Java plugin and click on Disable to turn off the plugin or Enable to turn it on.
    1. About.com
    2. Technology
    3. Java
    4. Getting Started
    5. Disabling (or Enabling) the Java Plugin in a Browser

    ©2014 About.com. All rights reserved.