- Download the zip file
- Unzip it in a directory of choice
- Make sure the
joda-time-2.1.jar file is in your classpath when you compile and run your program
The classpath is the set of directories and JAR files that Java tools such as the compiler (javac) and the launcher (java) use to find compiled *.class files. See Setting the class path if you don't know how to do that.
For Eclipse: Right-click your project, choose Properties. Select "Java Build Path". Click "Add External JARs...". Select the file joda-time-2.1.jar, click Open, OK.