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.
Here's what I have tried:
I created a directory lib (containing clibwrapper_jii o.jar and jai_imageio.jar ), in the directory with the .class files. Then I added
Class-Path: lib\clibwrapper _jiio.jar lib\jai_imageio .jar
to my Manifest.txt.
Then I used
jar cmf Manifest.txt myjar.jar *.class
But the jar does not work on other computers. Does anyone know what I am doing wrong. Thanks.
Here's what I have tried:
I created a directory lib (containing clibwrapper_jii o.jar and jai_imageio.jar ), in the directory with the .class files. Then I added
Class-Path: lib\clibwrapper _jiio.jar lib\jai_imageio .jar
to my Manifest.txt.
Then I used
jar cmf Manifest.txt myjar.jar *.class
But the jar does not work on other computers. Does anyone know what I am doing wrong. Thanks.
Comment