File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Finding jar files when all I have is broken code

 
Tony Smith
Ranch Hand
Posts: 77
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a neat site, thanks!
 
Rick O'Shay
Ranch Hand
Posts: 531
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic