• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.jar file question

 
Chris Staten
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I know what class or package I need for a program, how do I find out what jar file that class is in? I'm not so worried about the classes from Sun, but what about other vendors like Oracle?
 
Yuriy Zilbergleyt
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you pretty much have to google it. But if a program you're installing needs a third-party class, it will probably state in the installation guide/manual/README/whatever which jars it requires.

Yuriy
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The site www.jarhoo.com is a kind of Google for class files. Try it!
 
Yuriy Zilbergleyt
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A paid Google....
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Yuriy Zilbergleyt:
A paid Google....




Sorry. I've never used the site myself; I did try it when it first came out, and I occasionally recommend it based on that one experience. I had no idea it had become subscription-only!
 
Chris Staten
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I went there to check it out and saw that it's a pay site. I don't have a problem with paying a few bucks if I really need the service. Although, right now I'm doing OK with un-jaring files and hunting for the class/package I need.

As for using google, well, I do that and all I can seem to come up with is the javadoc for the classes I need. As far as I can tell that still doesn't give me the .jar file that they can be found in.

Thanks for the suggestions though!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic