Originally Posted by
Eranga
Can you put the exact code here you use.
To create myJar.jar I used the command
jar cfm myJar.jar manifest.mf *
I used * because I want to include all the classes in the current directory and its sub directories.
So you include that folder, not the files containing in that folders, right?
Not like that.I wrote manifest as:
Main-Class: mainClass
Class-Path: lib/jar1.jar lib/jar2.jar
and the jar file I created also contains this lib folder.