cd to the top diretory containing your files and type: For Unix, Linux etc. type: jar cvf ../whatever.jar . For Windows etc. type: jar cvf ..\whatever.jar . The files and the contents of any subdirectories should end up in a file called "whatever.jar" in the directory above where you started.