title: How to run cucumber file from command line
body: <p>I have cucumber feature file located at below location on my local:</p>
  
  <pre><code>C:\ProjectWork\Workspace\Cucumber\DIT_Cucumber\src\cucumber\featureOne.feature
  </code></pre>
  
  <p>and Junit jar at below location:</p>
  
  <pre><code>C:\DurgeshProjectWork\Workspace\JarFiles\junit-4.11.jar
  </code></pre>
  
  <p>When I have tried several commands like below to execute the feature file from command prompt however all the time getting same error as </p>
  
  <pre><code>Could not fine class
  </code></pre>
  
  <p>Below are the commands which I used:
  Command 1:</p>
  
  <pre><code>C:\&gt;java -cp C:\ProjectWork\Workspace\JarFiles\junit-4.11.jar org.junit.runner.JUnitCore C:\DurgeshProjectWork\Workspace\Cucumbe
  r\DIT_Cucumber\bin\cucumber\featureOne.feature
  </code></pre>
  
  <p>Command 2:</p>
  
  <pre><code>C:\ProjectWork\Workspace\Cucumber\DIT_Cucumber\src\cucumber&gt;java -cp C:\ProjectWork\Workspace\JarFiles\junit-4.11.jar org
  .junit.runner.JUnitCore featureOne.feature
  </code></pre>
  
  <p>Could you please help me to run this feature file from command line. Thanks in advance.</p>