I have to write a program which puts all files in a certain directory into a *.jar distributive.
Preferably the user must have an opportunity to choose a directory;
more simple variant is with a current or fixed directory name.
Technically, it should just generate the command line for JAR.exe and then call it.
Could anyone help me with the source code for the problem?
One day is not enough to learn Java :(