Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use Google Chrome as the external browser for Eclipse PDT. I always get the following error:

Could not launch external web browser for http://... Check the Web Browser preferences.

I tried using Firefox and IE and they both work. How can I get Chrome to work?

Edit: I am using Eclipse for PHP Developers version 3.0.2 on Windows 7 Ultimate 32-bit.

share|improve this question
Which version of eclipse? – Mark Jul 28 '12 at 19:27
It's version 3.0.2 – Leo Jiang Jul 28 '12 at 21:47
See some solution here:… – kenorb Jul 28 '12 at 23:27
Another one here:… – victoroux Aug 8 '12 at 14:14
Both of those are for Mac OS X, I'm using Windows 7. – Leo Jiang Aug 8 '12 at 15:27
up vote 3 down vote accepted

I use the "External Tools" to setup browsers and select the one I want to use.

Step by step guide

  1. Access the menu "Run";

  2. Select the last option labelled "External Tools";

  3. Select the "External Tools Configurations...";

  4. Create a "New launch configuration";

  5. Enter the following settings:


     Google Chrome

    (or whatever you wish to called it)



    (you can use Browse File System to locate it)

    Working Directory



    -url "${workspace_loc}${project_path}/${resource_name}" 
  6. Press Apply;

  7. You can now run it or later on select it from the menu "Run" -> "External Tools".

External Tools - New launch configuration

share|improve this answer

For Eclipse running on Ubuntu (12. 04) - start Chrome and then determine the location of the process.

From the terminal prompt:

~$ ps -aux

In my system, Google Chrome is running from:/opt/google/chrome/

In the External Tools Configuration, browse file system to this path/process.

Mine is:/opt/google/chrome/chrome

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .