How can I set Chrome as default external browser in Eclipse for Mac?

后端 未结 9 1926
醉话见心
醉话见心 2021-01-04 10:35

I think that question is self-explained :-)

When I browse to Application eclipse send me an error.

相关标签:
9条回答
  • 2021-01-04 11:12

    you can also try to fix that from eclipse at the menu bar: windows->preferences->general->web browser-> select the radio, Use external web browser and choose your default browser from there. that simple.

    0 讨论(0)
  • 2021-01-04 11:12

    My method to set Chrome as a default browser in eclipse is: Go to Window >> Web browser and then select Chrome.

    0 讨论(0)
  • 2021-01-04 11:14

    Ooops! I find the answer here: Is there a way to add Google Chrome as an external web browser in Flash Builder Standalone for Mac?

    The exact location is: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

    It's annoying that you can't enter inside to an "Application folder" (AppName.app) through Finder :-S

    Oh Wait! It's not working >_< Safari is opened

    0 讨论(0)
  • 2021-01-04 11:23

    The simplest way to get Eclipse to recognize Chrome as the default system browser is :

    1. Open Safari.
    2. Go to menu Safari > Preferences > General.
    3. Change 'Default web browser' to Safari.
    4. Close the Preferences dialog.
    5. Re-open the Preferences dialog.
    6. Change 'Default web browser' to Chrome.
    7. Close the Preferences dialog.

    This solution is more general as it applies to any application which chooses the incorrect system browser. (thanks to Kelvin Lawrence at IBM)

    I am using Eclipse 4.2.0 on an iMac with OSX Mountain Lion. This also works for Eclipse Kepler on Mountain Lion.

    0 讨论(0)
  • 2021-01-04 11:23

    Here's a helpful visual showing the /usr/bin/open techinque:

    enter image description here

    0 讨论(0)
  • 2021-01-04 11:28

    In Finder, right click on Google Chrome.app, select Show Package Contents and browse down to Contents/Mac OS and drag Google Chrome to the Location in Eclipse's Edit External Web Browser dialog box. Enter -url %URL% in the field Parameters. This worked for me on Eclipse Indigo on MacOS 10.7, at least when Chrome was not started before...

    0 讨论(0)
提交回复
热议问题