File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Finding jar files when all I have is broken code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Finding jar files when all I have is broken code" Watch "Finding jar files when all I have is broken code" New topic
Author

Finding jar files when all I have is broken code

Tony Smith
Ranch Hand

Joined: Mar 15, 2005
Posts: 77
I have inherited some code which will probably compile if I can figure out which jar files to link in. How can it figure it out?

Case in point:

import javax.servlet.jsp.JspException;

results in a compile error since this package isn't in the classpath.
Padma Lalwani
Ranch Hand

Joined: Nov 02, 2004
Posts: 49
Try http://www.jarhoo.com
This usually gives good results and will return the jar file name when a class name is input

Padma
Tony Smith
Ranch Hand

Joined: Mar 15, 2005
Posts: 77
That's a neat site, thanks!
Rick O'Shay
Ranch Hand

Joined: Sep 19, 2004
Posts: 531
http://www.javaworld.com/javaworld/javatips/jw-javatip105.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding jar files when all I have is broken code