A .jar file (Java ARchive) is a special type of .zip archive that can be executed as a Java program. Your Java compiler includes a command line utility for creating jar files. There is also an old GUI-based Java application I wrote a long time ago that can do the same thing but is a bit easier to use:
FileCanner
(one of my first Open Source apps)