I took an old jar file and edited it. Now i have a folder that has all the files and I want to recompile them back to a jar file. How do i do this?
Jar files aren't "compiled" in the normal sense of the word. But you just create one with the jar
command:
jar cvf myfile.jar file1 file2 etc
You can use globbing as normal:
jar cvf ../myfile.jar *
Run jar -?
or read the docs for more information.
Note that for an executable jar file, you'll need to specify the manifest file as well.