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:
In Safari, choose Safari > Preferences or press Command-comma (⌘-,)
Uncheck (deselect) "Allow Java".
Close the Safari preferences window.
To re-enable Java in Safari, check "Allow Java".
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.