.jar files contain code to be executed by JAVA, in your JAVA Runtime Environment. You can run .jar files by executing java -jar myjar.jar.