title: The driver executable does not exist: C:\geckodriver.exe issue in Eclipse IDE
body: <p>Please help me with this issue that is recurring every time I run my code.
  I have extracted Geckodriver files in C Drive but when I run my code, the error that comes up is 'Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\geckodriver.exe'.</p>
  
  <p><strong>My code is given below:</strong></p>
  
  <pre><code> package Basics;
  
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  
  public class Browserinvocation {
  public static void main(String[] args) {
      // TODO Auto-generated method stub
  
  System.setProperty("webdriver.gecko.driver","C:\\geckodriver.exe");
  
  WebDriver driver = new FirefoxDriver();//FirefoxDriver class is used to implement methods present in Webdriver-Invocation of browser
  driver.get("https://www.amazon.in/");// Get method to hit the url in browser 
  
  }
  
  }
  </code></pre>
  
  <p><strong>Error in console :</strong></p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.IllegalStateException: The driver
    executable does not exist: C:\geckodriver.exe     at
    com.google.common.base.Preconditions.checkState(Preconditions.java:534)
      at
    org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:136)
      at
    org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:131)
      at
    org.openqa.selenium.firefox.GeckoDriverService.access$100(GeckoDriverService.java:41)
      at
    org.openqa.selenium.firefox.GeckoDriverService$Builder.findDefaultExecutable(GeckoDriverService.java:141)
      at
    org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:339)
      at
    org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:158)
      at
    org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:120)
      at
    org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:98)
      at Basics.Browserinvocation.main(Browserinvocation.java:13)</p>
  </blockquote>