Http://stackoverflow.com/questions/5322574/how-can-i-set-chrome-as-default-external-browser-in-eclipse-for-mac
This article is very good!
began to use the method of the foreigner, but then tried!
No response after running, even safari won't open.
Later, I ran the following command at the command line to open it, and after many experiments, I gave up this method.
/usr/bin/open-a "/Applications/Google Chrome.app"
Another way of thinking is to set Chrome as the default browser for the system.
The simplest-to-get Eclipse to recognize Chrome as the default system browser is:
- Open Safari.
- Go to menu Safari > Preferences > General.
- Change the ' Default Web browser ' to Safari.
- Close the Preferences dialog.
- Re-open the Preferences dialog.
- Change the ' Default Web browser ' to Chrome.
- Close the Preferences dialog.
But this looks like the option is not right, because Safari can only set safari as the default
Later found the Mac system common options, and sure enough success!
The version of my Mac system is OS X EI captain 10.11.5
How to set Eclipse default browser to Chrome under Mac