I want to add a series of files previously extracted from other files(already done) to a jar. These files will be overwriting files inside the JAR. What is the most efficien
zip file.jar file1 file2 file3
works for me in Mac Os 10.7.5
jar -uf my.jar file1 file2... jar -uf my.jar dir/
or mixed
jar -uf my.jar file dir/
//Add a file in jar in a particular folder jar uvf <jar file name> <file to be added> <folder name inside jar>