title: Error: Could not find or load main class org.testng.TestNG
body: <p>Error: Could not find or load main class org.testng.TestNG</p>
  
  <p>I used the following steps/commands to run my testNG script through command prompt:</p>
  
  <pre><code>1. in my project folder, create a lib folder and copy all the jar files
  2. open cmd --&gt; cd myProjectDirectoryPath
  3. set classpath=myProjectDirectoryPath/bin
  4. set classpath=myProjectDirectoryPath/lib/*
  5. java org.testNG.TestNG testng.xml
  </code></pre>
  
  <p>but after that i am getting Could not find or load main class org.testng.TestNG
  error. tried to debug but still not successful. can someone help me.</p>