How to disable the Java web plug-in in Safari

Learn how to disable the Java web plug-in in Safari.

Important: Use Software Update and install all updates until Software Update reports "Your software is up to date."

Select the version of Safari you are using below to see the relevant instructions.

Safari 6.1 and later

In Safari 6.1 and later, you can enable or disable the Java plug-in for individual websites from the Security pane of Safari preferences. When the plug-in is installed but disabled on a website, Safari displays the disabled plug-in prompt instead of the Java content:

If you see a missing plug-in indicator instead of the disabled plug-in indicator, the Java Internet plug-in is not installed.

Safari 6 and earlier

To disable the Java web plug-in in Safari 6 or earlier, follow these steps:

  1. In Safari, choose Safari > Preferences or press Command-comma (⌘-,)
  2. Click "Security".
  3. Uncheck (deselect) "Allow Java".
  4. Close the Safari preferences window.

To re-enable Java in Safari, check "Allow Java".

Learn more

  • See this article for information about how to update the Java web plug-in.
  • Click this link for information about how to disable the Java web plug-in in Chrome.
  • Click this link for information about how to disable the Java web plug-in in Firefox.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information.

Last Modified:
Helpful?

Additional Product Support Information

Start a Discussion

in Apple Support Communities
See all questions on this article See all questions I have asked
United States (English)