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:

java prompt

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.
Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Last Modified: Jul 14, 2014
  • Last Modified: Jul 14, 2014
  • Article: HT5241
  • Views:

  • Rating:
    • 20.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked