Create a gist now

Instantly share code, notes, and snippets.

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