执行以下命令行即可 sudo rm -rf /System/Library/Java/JavaVirtualMachines/ 转载于:https://www.cnblogs.com/Peterahan/p/4568383.html