文章出處
文章列表
http://stackoverflow.com/questions/5322574/how-can-i-set-chrome-as-default-external-browser-in-eclipse-for-mac
這篇文章說得很好!
開始用得是這個老外的方法,但后來屢試不爽!
運行后沒有反應,連safari都打不開了
后來我在命令行下運行下面的命令可以打開,經過多次實驗后放棄了這種方法
/usr/bin/open -a "/Applications/Google Chrome.app"
換另外一種思路,就是設置chrome為系統默認的瀏覽器
The simplest way to get Eclipse to recognize Chrome as the default system browser is :
- Open Safari.
- Go to menu Safari > Preferences > General.
- Change 'Default web browser' to Safari.
- Close the Preferences dialog.
- Re-open the Preferences dialog.
- Change 'Default web browser' to Chrome.
- Close the Preferences dialog.
但這種貌似選項不對,因為safari下只能設置safari為默認的
后來找到Mac系統通用的選項,果然成功了!
我Mac系統的版本是OS X EI Captain 10.11.5
文章列表
全站熱搜