Reputation: 497
I used Eclipse export -> runnable jar to turn my project into a runnable jar, however I guess I have some unused packages and the file is too big.
Is there a tool / way for me to figure out which ones are used and which ones aren't?
For Example I have the Google Web tool, but I don't think I need all of it.
I would appreciate the help!
Best,
Upvotes: 1
Views: 609
Reputation: 2469
If you just want to see what's inside your jar, from the command-line run:
jar tvf your-jar-name.jar
Upvotes: 1