Hi again,
to reverse my 1st command, simply delete
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list
if not appliable with finder, you can do it with terminal
sudo rm -f /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
reboot the mac and it will automaticly downloaded from apple again in its original state.
same for the defaults write commands...
if you have implemented the launchdeamons, just delete the script and the launchdeamon
if you followed my instructions, the script location is /scripts/java-workaround.sh
command in terminal:
sudo rm -f /scripts/java-workaround.sh
the launchdeamon sits /Library/LaunchDeamons/com.own.java-workaround.plist
command for terminal:
sudo rm -f /Library/LaunchDeamons/com.own.java-workaround.plist
just delete these 2 files +
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list
(1st Command listed above)
as it would redownloaded from apple next time the mac reboots.
Regards,
Shirkan