title: Unable to run application with Twitter4j from command line
body: <p>I have included the Twitter4j .jar files in my classpath like so:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
      &lt;classpathentry kind="src" path=""/&gt;
      &lt;classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/&gt;
      &lt;classpathentry kind="lib" path="C:/twitter4j-3.0.5/lib/twitter4j-core-3.0.5.jar"/&gt;
      &lt;classpathentry kind="lib" path="C:/twitter4j-3.0.5/lib/twitter4j-stream-3.0.5.jar"/&gt;
      &lt;classpathentry kind="output" path=""/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p>My application runs fine through my IDE, but when I attempt to run it through the command complaining about not being able to find the <code>StatusListener</code> class which should be inside of the <code>twitter4j-stream-3.0.5.jar</code>:</p>
  
  <pre><code>&gt;java MyTwitterApp
  Exception in thread "main" java.lang.NoClassDefFoundError: twitter4j/StatusListener
  </code></pre>
  
  <p>Is there anything else that I need to do in order to run an application with twitter4j from the command line?</p>