Created
November 4, 2014 14:26
-
-
Save jacobsalmela/531970d8fa1b7b9a31ef to your computer and use it in GitHub Desktop.
Disable Java cache for TestNav
This file contains hidden or 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
# Set your variable values here | |
bud='/usr/libexec/Plistbuddy' | |
plist='/Users/student/Library/Preferences/com.oracle.javadeployment.plist' | |
# Disable Java cache by adding or setting the plist entry | |
killall cfprefsd | |
${bud} -c "Add /com/oracle/javadeployment/:deployment.cache.enabled bool false" ${plist} | |
#${bud} -c "Set /com/oracle/javadeployment/:deployment.cache.enabled false" ${plist} | |
killall cfprefsd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment