Last active
February 15, 2017 15:36
-
-
Save johanneswseitz/94810bfafc786f3ec404 to your computer and use it in GitHub Desktop.
Disable Adware installation for Mac Java 8u40+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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