Move usr/bin/java in Terminal
问题 After updating to OS X 10.11, my java stopped working. I read multiple places that I should do a: sudo mv /usr/bin/java /usr/bin/java.old sudo ln -ns /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin/java But the issue is when I run the first line of code, I just get: mv: rename /usr/bin/java to /usr/bin/java.old: Operation not permitted Any ideas what I can do to fix this? 回答1: Seems like the problem with the new System Integration Protection (a.k.a rootless