-The program has a main class that is statically calling other programs (ex: class1.main(Args); class2.main(Args)....) -the programs is using three external JAR files (say j1, j2 and j3.jar)
the program is fully working. but I wanted to bundle everything in one executable file (JAR or exe)....
I tried for weeks but still it is not working....the created jar file doesn't have access to the archives files.....
A jar file does not support embedding other jar files inside of it. You either need to place all the jar files in the same directory or, as has already been suggested, expand all jars and then package them all up in a single jar.