- Disable or enable Java or JavaScript in your browser
- All browsers
- Windows
- macOS
- Edge
- Firefox
- Chrome
- Safari
- Disabling (or Enabling) the Java Plugin in a Browser
- Firefox
- Internet Explorer
- Safari
- Chrome
- Opera
- How to Enable Java in Chrome and Other Browsers
- Why it’s Important to Enable Java in Browsers
- How to Enable Java in Chrome
- How to Allow Java in Internet Explorer
- How to Enable Java in Firefox
- How to Turn on Java in Safari
- Enable Java in Opera
- Conclusion
Disable or enable Java or JavaScript in your browser
Follow the steps below to disable Java or JavaScript. If your browser is not listed here, consult its support website.
All browsers
Disable Java Version 7 Update 10 from the Control Panel in Windows or System Preferences in macOS.
Windows
- Navigate to the Control Panel.
- In the Search Control panel, type Java Control Panel into the «Search» field, and click the Java icon to open it.
- In the Java Control Panel, click the Security tab.
- At the top of the Security tab, check the Enable Java content in the browser box to enable Java. Uncheck to disable.
macOS
- Click the Apple icon in the top left of the screen.
- Select System Preferences .
- Click the Java icon to open the Java Control Panel. Then, click the Security tab.
- At the top of the Security tab, check the Enable Java content in the browser box to enable Java. Uncheck to disable.
Edge
The following instructions will not work in the Home or Starter editions of Windows; Group Policy Editor is not available in these editions.
For Microsoft Edge, you must disable JavaScript from the Windows Group Policy Editor, rather than in the browser settings. To do so, in Windows 10:
- Launch the Edit Group Policy program.
- Expand the User Configuration folder.
- Expand the Administrative Templates folder.
- Expand the Windows Components folder.
- Expand the Microsoft Edge folder.
- Double-click Allows you to run scripts, like Javascript .
- Choose Disabled , and click Ok to confirm.
Firefox
To enable or disable the Java plug-in Firefox:
- Open a new tab, and then, in the address bar, type about:addons .
- Press Enter or Return .
- On the left, click Plugins .
- Find the Java Plug-in, and then click the corresponding activation button (on the right) to select either:
- Always Activate (to enable the plug-in by default)
- Never Activate (to disable the plug-in by default)
- Ask to Activate (to make Firefox prompt you whenever a website tries to access the Java plug-in)
- When you’re finished, close the «about:addons» tab.
To enable or disable JavaScript in Firefox:
- Open a new tab, and then, in the address bar, type about:config .
- Press Enter or Return .
- You’ll see a «This might void your warranty!» warning. Click I’ll be careful, I promise! to continue.
- In the search bar, enter javascript.enabled , and then, in the search results, under «Preference Name», locate javascript.enabled .
- Right-click (Windows) or Ctrl -click (macOS) javascript.enabled , and then select Toggle to change its «Value» entry to true (enabled) or false (disabled).
- When you’re finished, close the «about:config» tab.
For more on the about:config feature in Firefox, see the MozillaZine about:config page.
Chrome
To enable or disable Java in Chrome:
- In the address bar, enter chrome://plugins .
- Find the «Java» entry, and click its Disable link.
- Restart your browser.
To enable or disable JavaScript in Chrome:
- In the address bar, enter chrome://settings/content .
- Find JavaScript on the page and select either Allow all sites to run JavaScript or Do not allow any site to run JavaScript .
- Click Done and restart Chrome.
Safari
To enable or disable Java or JavaScript in Safari:
- From the Safari menu, select Preferences .
- Click Security .
- Check or uncheck the Allow Java or Enable JavaScript box.
- Restart your browser.
This is document bcyv in the Knowledge Base.
Last modified on 2021-12-02 16:30:16 .
Disabling (or Enabling) the Java Plugin in a Browser
Paul Leahy is a computer programmer with over a decade of experience working in the IT industry, as both an in-house and vendor-based developer.
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:
- Select Tools -> Add-ons from the menu toolbar.
- The Add-ons Manager window appears. Click on Plugins on the left-hand side.
- 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.
- 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:
- Select Tools -> Internet Options from the menu toolbar.
- Click on the Security tab.
- Click on the Custom level.. button.
- In the Security Settings window scroll down the list until you see Scripting of Java applets.
- 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:
- Select Safari -> Preferences from the menu toolbar.
- In the preferences, window click on the Security icon.
- Make sure the Enable Java checkbox is checked if you want Java enabled or unchecked if you want it disabled.
- Close the preferences window and the change will be saved.
Chrome
To turn on/turn off Java applets in the Chrome browser:
- Click on the wrench icon to the right of the address bar and choose Settings.
- At the bottom click the link called Show advanced settings.
- Under the Privacy, section click on Content settings.
- Scroll down to the Plug-ins section and click on Disable individual plug-ins.
- 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:
- In the address bar type in «opera:plugins» and hit enter. This will display all the installed plugins.
- Scroll down to the Java plugin and click on Disable to turn off the plugin or Enable to turn it on.
How to Enable Java in Chrome and Other Browsers
In this short tutorial, we’re going to shed light on how to enable Java in Chrome browser. Then, we’ll explain in detail how to accomplish the same thing in other browsers.
We’ll use Windows 10 in this tutorial, so make sure to read how to install Java on Windows 10 first.
Without further ado, let’s get started!
Why it’s Important to Enable Java in Browsers
By default, Java is not enabled in web browsers even if it’s already installed on your machine.
So, in order to run Java applets on your browser, you need to turn it on first.
Bear in mind that you need to check Java updates frequently to make sure that your Java version is up-to-date with the latest release. That way, you can avoid security-related problems.
How to Enable Java in Chrome
NPAPI was a great choice to use to activate Java in Chrome. Unfortunately, the latest versions of Google Chrome have abandoned NPAPI and disabled its support.
Chrome browser versions 42 and above. Starting with Chrome version 42 (released April 2015), Chrome has disabled the standard way in which browsers support plugins. https://java.com/en/download/help/enable_browser.html
However, technology has taught us that there is always a workaround! Right?
Today, the most convenient way to make Java enabled is to use the IE Tab Chrome extension! So, let’s see how we can make use of IE Tab to enable Java in Chrome.
First thing first, we need to install the IE Tab extension on our Chrome browser.
Once the installation is completed, we need to navigate to the IE Tab extension and click on it. The click will allow us to download a small program named: ietabhelper, a helper executable file required by IE Tab to do its job.
Next, we have to run ietabhelper.exe. Lastly, we can click the E icon to open an IE Tab (it uses the Internet Explorer engine to support Java).
Now, we can type any URL that contains Java content in the IE Tab.
How to Allow Java in Internet Explorer
Enabling Java in Internet Explorer is pretty simple. All you need to do is follow these instructions:
- Open Internet Explorer browser
- Click on Tools and then choose to Internet Options
- Navigate to the Security tab, and select the Custom level button
- Scroll down until you find Scripting of Java applets
- Make sure the Enable radio button is checked
- Click OK to apply your changes
How to Enable Java in Firefox
If you’re wondering if we can turn on Java in the Firefox browser, then the short answer is NO and the long answer is YES 🙂
Many browsers including Firefox have disabled NPAPI-based plugins support (which is required to run Java). The new versions of Firefox — from 52.0 Release — supports only the Flash Player Plugin from Adobe.
So, the only workaround here is to install an old version that still supports NPAPI. However, this can lead to security issues and may put your machine at risk.
To enable Java in old Firefox versions, you can follow the following steps:
- Click on the Menu button
- Select Add-Ons
- Choose Plugins
- Search for the Java Platform that you have installed
- Make sure to select Always Activate or Ask to Activate to enable Java
How to Turn on Java in Safari
Safari has followed the steps of Chrome and other browsers and removed support for running legacy NPAPI plugins. This is why Safari 12 no longer supports Java content.
However, if you want to enable Java, for one reason or another, in old Safari versions, you can follow these steps:
- Navigate to the Safari menu
- Select Preferences
- Click the Security option ( You can find it at the top of the window)
- Choose Allow Plug-ins
- Choose Allow Always for the Java item
- Click Done to save your changes
Enable Java in Opera
Yet again, disabling and enabling the Java plugin in the Opera browser is simple and straightforward:
- Type opera:plugins in the address bar type and hit enter
- Navigate to the installed plugins
- Scroll down and click on Enable to turn on Java
Conclusion
That’s all folks, we have explained how to enable Java in Chrome, Internet Explorer, Firefox, Safari, and Opera. We have highlighted IE Tab Chrome extension as one of the workarounds that we can use to enable Java.
We have seen that the latest releases of the browsers disabled NPAPI based plugins for security reasons.
Thanks for reading! Have a nice day!
Liked the Article? Share it on Social media!