I'd word it a bit differently but your question is understandable.
A jar doesn't execute, classes execute.
You need to read a file to copy it. I guess copying requires writing after reading.
...
Type: Posts; User: Norm
I'd word it a bit differently but your question is understandable.
A jar doesn't execute, classes execute.
You need to read a file to copy it. I guess copying requires writing after reading.
...
Did you look at the JarOutputStream class?
What do you get when you Google it?
Have you looked at the java classes for jar files and zip files?
The doc says: "The JarOutputStream class is used to write the contents of a JAR file to any output stream."