I have a problem with finding all the external libraries that a .jar
file uses. My .jar
file is very big, and manually decompiling it and going through every class, checking all the used paths is impossible. I wonder if there is a way or a tool that would go through a .jar file, and list all the external paths/links to classes that are not in the .jar file?
P.S: I'm not asking "what is the best tool to do so?", I just need to know how to get all the external paths a .jar
file uses, without manually decompiling it.
Try this :
*.class
piped to a text file.$
)Class.forName()
should be enough)-verbose:class
piped to a text fileI'm not sure if -verbose:class
works with obfustcated code, logically I think it should be fine.