brew tap caskroom/versions brew cask install java6 转载于:https://my.oschina.net/wangzhengbo/blog/3099155