JAR stands for Java ARchive and is used for packaging java applications and libraries into a single compressed file. It generally contains compiled java class binaries in their correct namespace (i.e. directories). It shares the same compression algorithm with zip files.