JAR is a Java archive file that is used to execute Java. It runs on mobile phones and computers if Java is installed. It permits a Java file to execute using some set of classes. The compression in JAR works similar to ZIP files. JAR files can be unzipped using any unzipping software or JVM.