title: org.openqa.selenium.WebDriverException: The path to the driver executable must be set by the webdriver.gecko.driver system property;
body: <p>I am trying to run automation tests using selenium grid. I have configured hub and node as  <code>java -jar :D\selenium-server-standalone-3.4.0.jar -role hub.</code>  </p>
  
  <pre><code> java -Dwebdriver.gecko.driver="D:\geckodriver.exe" -jar D:\selenium-server-standalone-3.4.0.jar -role node  -hub http://localhost:4444/grid/register -port 5566 -browser browserName=Firefox,maxInstances=5           
  </code></pre>
  
  <p>since my gecko driver and selenium jar is in "D" drive.</p>
  
  <p>But when I am trying to run test from eclipse IDE, it throws an error  </p>
  
  <pre><code>org.openqa.selenium.WebDriverException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases
  Command duration or timeout: 96 milliseconds  I am unable to identify  where It is going wrong??
  </code></pre>
  
  <p>I am using firefox 47</p>