Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2004

Tip: Looking for answers? Try searching our database.

utility for seaching the needed jars

Thread view: 
Franck Perrin - 19 Jul 2004 21:59 GMT
Does someone knows a utility which can determine which are the needed
jars to run a program.

Recently, I tried to use Betwixt of the Jakarta project, and I had
successively to add commons-digester.jar, commons-collections.jar,
commons-logging.jar, commons-beanutils.jar in the classpath to fix the
java.lang.NoClassDefFoundError exceptions I had raised.

That's why I'm asking myself if there isn't a tool which can find the
missing classes and, eventually, look for the jars that contains them.

I already use an Eclipse plug-in (Jar Class Finder) which scans all
the jars of a specified directory, searching a class name.
This kind of utility could be a part of the solution.
Roedy Green - 19 Jul 2004 22:26 GMT
>That's why I'm asking myself if there isn't a tool which can find the
>missing classes and, eventually, look for the jars that contains them.

I use Jet for that. It does not do it all in one pass, but once you
stop getting compile time error messages, you know you have nailed
them all.
see http://mindprod.com/jgloss/jet.html

See http://mindprod.com/jgloss/jar.html 
PackaJar and The Cannery are old tools that still might work. Links no
longer work. Perhaps someone can track them down. Kevin Kelly did the
Cannery.

See also http://mindprod.com/projects/javajarcatalog.html

http://mindprod.com/projects/jarverifier.html

Signature

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.