Friday, November 27, 2009

Eclipse GWT_EXTERNAL_BROWSER

Problem :


When you compile in hosted mode, you have the following error :
[ERROR] Unable to find a default external web browser

[WARN] Try setting the environment variable GWT_EXTERNAL_BROWSER to your web browser executable before launching the GWT shell



Solution :


In eclipse, Go on Run -> Run Configurations.Then, choose your google's project and click on Environment.The last thing, you have to do is to add the variable GWT_EXTERNAL_BROWSER with the value firefox.