Skip to content

Instantly share code, notes, and snippets.

@johanneswseitz
Last active February 15, 2017 15:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johanneswseitz/94810bfafc786f3ec404 to your computer and use it in GitHub Desktop.
Save johanneswseitz/94810bfafc786f3ec404 to your computer and use it in GitHub Desktop.
Disable Adware installation for Mac Java 8u40+
sed -i "" 's/install.disable.sponsor.offers.*/install.disable.sponsor.offers=true/g' ~/Library/Application\ Support/Oracle/Java/Deployment/deployment.properties
defaults write ~/Library/Application\ Support/JREInstaller/ThirdParty SPONSORS -string "0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment