Including library in jar

I have a program that reads and writes tiff files. I have JAI ImageIO installed on my computer and the program works fine. But when I create a jar and try to run it on another computer I can't read or write tiffs. I'm not sure what I have to do to get this to work on other computers. I tried adding

Class-Path: lib\clibwrapper_jiio.jar lib\jai_imageio.jar

to my Manifest.MF but it didn't seem to make any difference. Does anyone know what I need to do. Thanks.

[485 byte] By [flyer12a] at [2007-11-27 9:23:07]
# 1
Have you included the lib folder and proper library jar files in your deployment? Have you placed the proper jar files on the lib folder?
lem@phila at 2007-7-12 22:18:00 > top of Java-index,Java Essentials,New To Java...
# 2

I have the two jar files, clibwrapper_jiio.jar and jai_imageio.jar, in the lib folder and the lib folder is in the same directory as my .class files.

My problem could be in creating my jar. One thing I have tried is

jar cmf manifest.txt myjar.jar *class lib

I've been working on this for a while now and just can't seem to figure it out. Thanks.

flyer12a at 2007-7-12 22:18:00 > top of Java-index,Java Essentials,New To Java...