Hey all,
I have an application (5 files) which is in the following package,
"apps.panoramer"
main source file ( with the main function in it)
"Panoram.java"
Now this application uses the JAI API and I wanted to include the JAI jars so that the enduser will not have to have the JAI package installed to run the program. so this is what I made my directory structure look like..
this is what the manifest.tmp looks like
"Main-Class: Panoram.java
Class-Path: apps/JAI_jars/jai_core.jar apps/JAI_jars/jai_codec.jar
"
this is the command that I used to jar the application
jar cvmf manifest.tmp stitcher.jar apps/panoramer/*.class apps/panoramer/images/* apps/pannoramer/JAI_jars/*.jar
and all the files were added succesfully.
but when I run the app (
java -jar stitcher.jar), it says that it can find a JAI function, even thought i have included the jar(jai_core.jar) in the jar file(stitcher.jar) and specified it in the class path.
what gives?
can someone please help me out.
I have tried different variations but nothing seems to work?
any help would be appreciated.
thanks
Danny Crasto