I feel like this question would be much better answered on StackOverflow. You should check that site out.
That being said, you'll want to go to your project settings and add a library (to the class path). This is a fairly straightforward thing and a quick Google search will give you the answer...