How to run Selenium WebDriver test cases in Chrome?

I tried this

WebDriver driver = new ChromeDriver();

But i’m getting the error as

Failed tests: setUp(com.TEST): The path to the driver executable must be set by the system property; for more information, see code here.

How can I make Chrome to test the Selenium-WebDriver test cases?