Way 1: Giving much information about list of classes in jar file
jar -tvf jar_name.jar
command will display creation time, class size, name of the class with package name etc.
How it is giving the output
0 Thu May 17 12:26:50 IST 2007 META-INF/
70 Thu May 17 12:26:50 IST 2007 META-INF/MANIFEST.MF
0 Thu May 17 12:26:48 IST 2007 org/antlr/runtime/
1114 Thu May 17 12:26:48 IST 2007 org/antlr/runtime/ANTLRFileStream.class
954 Thu May 17 12:26:48 IST 2007 org/antlr/runtime/ANTLRInputStream.class
1143 Thu May 17 12:26:48 IST 2007 org/antlr/runtime/ANTLRReaderStream.class
|
Way 2: Only classname including package
jar -tf jar_name.jar
displays only class name with package name.
How it is giving output
META-INF/
META-INF/MANIFEST.MF
org/antlr/runtime/
org/antlr/runtime/ANTLRFileStream.class
org/antlr/runtime/ANTLRInputStream.class
org/antlr/runtime/ANTLRReaderStream.class
|