Joda Time causing error when run through a jar
<p>So I have a program that is using <a href="http://www.joda.org/joda-time/index.html" rel="nofollow noreferrer">Joda-Time</a>
that works perfectly fine when run through Eclipse. However when I export it as a .jar, the program doesn't run at all. When I ran the program through command prompt, I got the following error:</p>

<pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/joda/time/DateTime
    at BouncyBallSource.BouncyBallV5.&lt;init&gt;(BouncyBallV5.java:131)
    at BBDriver.main(BBDriver.java:17)
Caused by: java.lang.ClassNotFoundException: org.joda.time.DateTime
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 2 more
</code></pre>

<p>I added the Joda-Time jar to the Build Path, and I get no errors in Eclipse. I have no clue why this is happening, so how do I go about fixing it, and is anyone else having this problem?</p>

<p>By the way, line 131 is: <code>DateTime dt = new DateTime();</code></p>

<p>Command: java -jar BouncyBallV5.0.0A2.jar</p>