title: Unable to run Selenium tests (java) from the command line
body: <p>I am using Selenium to do tests on some html. I was using java under Eclipse and run test by Junit. And everything was fine. But I got problems when I started use command line (javac/java at Dos prompt) to compile/run the test.
    For this java project, I have a bunch of classes, each one represents one test while each each class sits in its own java file. And All these files are under one package/folder called "testSuite". Each test file will import a bunch of jar files. And they also import Global class from another 
     The problems, the compile was ok. but I make it run. I compiled global.java first then compiled <code>PolicyFilter.java</code> and then try to run the class, below is what I got:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: \testsuite\PolicyFilter (wrong name: testSuite/PolicyFilter)
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(Unknown Source)
  </code></pre>