File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes In which Jar? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "In which Jar?" Watch "In which Jar?" New topic

In which Jar?

Minn Myat Soe

Joined: Dec 03, 2004
Posts: 3
Is there a way to find which jar a particular belongs to? I'm having difficulities choosing which jar to add to compensate certain ClassNotFound errors.


Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
You can list the contents of a jar with the "jar -t" command.

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

You might also find Jarhoo useful.
[ December 17, 2004: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: In which Jar?
It's not a secret anymore!