2 Minutes To Code (β Version)

'jar' command - 2 minute tutorial

Overview of 'jar' comamnd

The 'jar' command is used to bundle a set of java classes in a .jar file for ease of distribution. It is also used to create a .war file bundle.

It is one of the tools available in the jdk release bundle in the $JDK_HOME/bin folder.