A typical IDE should do this for you (I know at least eclipse does). Otherwise you can unpack the necessary jar's, then add them to your application jar directly (been a while since I used the...