mac上卸载java

sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-9.jdk 

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin 

sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane 

sudo rm -fr ~/Library/Application\ Support/Oracle/Java 

根据java版本选择卸载,上面第一行是卸载java9

posted @ 2018-08-22 11:33  xLI4n  阅读(620)  评论(0编辑  收藏  举报