How to extract one class plus all its dependencies from the library?

I got a large Java library, but I need only a small part. How can I extract the main class and all its dependencies? An automatic solution would be preferable, but I can also live with something that generates a list of files that I need to extract (I don't want to write something myself ;-)).

It looks like a Tool or a plugin to extract a class and all its dependencies from a VS project - I just need this for Java (the IDE uses Eclipse).

+5
source share
1 answer

There is a tool called autojar . He works.

+4
source

All Articles