/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
uname -a
显示系统隐藏文件。在终端(Terminal)中输入如下命令:defaults write ~/Library/Preferences/com.apple.finder AppleShowAllFiles -bool true
(true 改成 false 就可以不再显示隐藏文件)需要重启,然后在finder中就可以看到隐藏文件了。
Remove the "system" JVM installed and maintained by Software Update
% sudo rm -rf /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
Remove any Java Developer Previews
% sudo rm -rf /Library/Java/JavaVirtualMachines/1.6.0*.jdk
原文:http://www.cnblogs.com/ZacharyHodgeZou/p/3925289.html