Working on .jar files

Extract content of a .jar file

jar x /path/to/jar/file

Working on .class files

To list the content of a .class file:

javap classname

Give here the class name not the file name.