Is there a way to find all the class dependencies of a java main class?
I have been manually sifting through the imports of the main class and it\'s imports but then
You may want to take a look at the jdeps
command line tool:
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jdeps.html
jdeps -cp -v
The command will return a list of the dependencies for that java class file. There are many other options that you can use in your command like -regex
to find dependencies matching a given pattern