# Opening IE web driver in selenium

I am trying to run a piece of selenium code using IE web driver. I can run the same easily using firefox, without adding much dependencies:

I just used the statement WebDriver driver = new FirefoxDriver();
and the web driver is opening. But looks like there are additional procedures to open in Internet Explorer browser. I have kept IEDriverServer.exe file in my local. And gave these commands:

System.setProperty("webdriver.ie.driver",C:exactlocationIEDriverServer.exe");

WebDriver driver = new InternetExplorerDriver();


Not sure why the IE browser is not even launching. I have added the dependency in POM as well. Please help me as I have to run all my tests in IE.