卸载步骤
输入
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencesPanes/JavaControlPanel.prefpane
查找当前版本
输入:ls /Library/Java/JavaVirtualMachines/
输出:jdk-1.6.0.jdk
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-1.6.0.jdk