2 Minutes To Code (β Version)

'jar' command - 2 minute tutorial

How to extracting a partcular file from jar file

If you need to extract only one or a couple of files from the jar file use the option -x and specify the file name/s at the end of the command as shown in the image below. The complete command to extract MANIFEST.MF file from jar file will be jar -xf app.jar META-INF/MANIFEST>MF .

The extracted file will be placed in the current working directory.