This is a very common problem and I found the solution while doing a preliminary checklist.
Well, this problem occurred when my friend tried to execute his first selenium script with IE.
As per code concern he has used..
System.setProperty("webdriver.ie.driver","C:\Perl64\bin\IEDriverServer" );
InternetExplorerDriver d3 = new InternetExplorerDriver();
d3.get(http://gmail.com);
With this he got the below written exception..
Exception in thread "main" java.lang
.IllegalStateException: The driver executable does not exist: C:Perl64binIEDriverServer
at com.google.common.base.Preconditions.checkState(Preconditions.java:177)
at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:117
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:112)
Now question is how to solve this problem, well..while doing a preliminary check list I found the basic problem i.e like most of us he forgot to add .exe in the driver. i.e.-
System.setProperty("webdriver.ie.driver","C:\Perl64\bin\IEDriverServer.exe" );
InternetExplorerDriver d3 = new InternetExplorerDriver();
d3.get(http://gmail.com);
This code worked fine.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.