Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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