How to check contents of a JAR file
Category : Bigdata
Many times we have to check what are the packages,classes included in one jar files, but due to black box(just a simple jar ) we face a trouble to check.
So with the help of following ways you can check it.
jar tf <PATH_TO_JAR
But if you are looking for a specific class or package then you can use following command.
jar tf <PATH_TO_JAR> | grep -i <PARTIAL_NAME_OF_CLASS>
Leave a Reply