What is JAR (JAR file)?(What is, Concept and Definition)

Short for Java archive , a JAR file is a collection of multiple files as a single file.JAR files are an easy way to distribute Java applications, just like compressing a file into a zip file is an easy way to distribute other programs over the Internet.To start a JAR file, type the following command.

java-jar example.jar

To exploit or extract the JAR file, type the following command.

jar-xf example.jar Tip

If you are familiar with Linux or Unix, you can think of a JAR as similar to a tar file.

Comments