This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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
  • 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
  • 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
  • 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