First start the Chrome Driver on localhost.
Then add the below lines of code to your application:
//Path to Chrome driver.
driver = new ChromeDriver();
Set the path to chrome driver.
Many people mistakenly confuse this to where browser is installed.That is not the case.Set it to location where you have installed the driver.
Boom your app launches.