View the contents of JAR Files

Command for viewing contents of JAR File in console

jar tf jar-file-name.jar

where,

Example

jar tf myjar.jar

Output

Music.class

Equalizer.class

song.mp3


Other commands