title: Unable to start Chrome Driver in Selenium Webdriver 2
body: <p>I am trying to open Chrome browser from Selenium webdriver but I'm failing to do so. At first I tried opening both Chrome and Firefox from the same program. The Firefox browser works perfectly fine, while I got error related to ChromeDriver exe file being not present. I downloaded the ChromeDriver file and added that to the External Jars and also called it using the <code>System.setProperty(</code> method.</p>
  
  <p>Here is the original code:</p>
  
  <pre><code>package test.selenium;
  
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
  public class Selenium_test {
  
  public static void main(String[] args) {
  
      FirefoxDriver dr1=new FirefoxDriver();
      FirefoxDriver dr2=new FirefoxDriver();
  
      System.setProperty("webdriver.chrome.driver", "C://chromedriver.exe");
  
      ChromeDriver dr3=new ChromeDriver();
      ChromeDriver dr4=new ChromeDriver();
  
  
      dr1.get("http://google.com");
      dr2.get("http://northeastraveller.com");
  
      dr3.get("http://quora.com");
      dr4.get("http://facebook.com");
      // TODO Auto-generated method stub
  
  }
  
  }
  </code></pre>
  
  <p>I separated the Chrome part into a separate program named "Chrome_test", whose code is as follows</p>
  
  <pre><code>package test.selenium;
  import org.openqa.selenium.chrome.ChromeDriver;
  
   public class Chrome_Test{
  
   public static void main(String[] args) {
  
  
    System.setProperty("webdriver.chrome.driver", "C://chromedriver.exe");
  
      ChromeDriver dr3=new ChromeDriver();
      ChromeDriver dr4=new ChromeDriver();
  
      dr3.get("http://quora.com");
      dr4.get("http://facebook.com");
      // TODO Auto-generated method stub
  
  }
  
  }
  </code></pre>
  
  <p>Now I'm getting the following error :</p>
  
  <p><strong>Error: Could not find or load main class test.selenium.Chrome_Test</strong></p>
  
  <p>I checked the classpath variables and all seems to be at place. What am I missing here?</p>