Resolving classpath problems with free Jarhoo service

Discussions

News: Resolving classpath problems with free Jarhoo service

  1. Jarhoo provides a lookup service allowing developers to find jar file details for classes causing NoClassDefFoundError or ClassNotFoundException problems. The database is growing incrementally as more and more developers use the site - the most popular jar files are added on each database population.

    Also useful for those new to Java, Jarhoo can help developers write import statements by providing fully qualified class names for classes in its database, which can then be pasted into code.

    Visit http://www.jarhoo.com

    Threaded Messages (30)

  2. Nice idea, would be even better if it could be extended to provide debian's apt-get style functionality (perhaps using ibiblio for storage). JPackage is another interesting site, but rpms aren't to everyones taste.
  3. Nice idea, would be even better if it could be extended to provide debian's apt-get style functionality (perhaps using ibiblio for storage).
    Isn't that what Maven does?

    But personally I would prefer Ant task with ability to fetch a declared dependency
  4. there is a task like that. i read about it on this site some time ago.. can't remember the name of the project though.
  5. http://www.theserverside.com/news/thread.tss?thread_id=27478
    here it is
  6. http://www.theserverside.com/news/thread.tss?thread_id=27478here it is
    Savant looks good, but seem to be too strict about versions. If it allowed specifying version like "latest" I would try it.
  7. i think you should check this :
    http://howardlewisship.com/blog/2004/05/maven-like-downloads-for-ant.html

    i didn't found it, it was on this thread :
    http://www.theserverside.com/news/thread.tss?thread_id=29549

    hope it helps.
    peace.
  8. My Jarhoo wishlist![ Go to top ]

    Hi Mike,
        Nice work on this site.

        It's been out for a day now hasn't it? So it must be time for a wishlist:
  9. My Jarhoo wishlist![ Go to top ]

    Hi Mike,

        Excellent concept, will be useful.

        It's been out for a day now hasn't it? So it must be time for a wishlist:

        * Links to the official Javadoc as well as jdocs.com with inlined summaries.
        * More info on the class, e.g. size of file, superclass.
        * Indication of duplicates - group entries which contain an identical class

        And even better:

        * Search plugin for Firefox
        * Idea/Eclipse plugin
  10. My Jarhoo wishlist![ Go to top ]

    Michael

    Thanks for the positive feedback and wishlist.

    We like your suggestions and always take such feedback into consideration when planning future releases.

    Hope you continue to find Jarhoo useful.

    Michael Lavelle
    Jarhoo Development Team
  11. Jar Finder Service[ Go to top ]

    I have been using this great jar finder service. They have over 5000 jars and seem to be adding constantly. One neat feature is that they allow you to vote on links to where the jar can be found and provide you with maven pom files for some of them. Check them out they are great. http://www.whatjar.co.uk
  12. Hi Folks,

    what's the difference between ClassNotFoundException and NoClassDefFoundErr? I mean, I know what ClassNotFoundException means, but I don't know NoClassDefFoundErr... :(
  13. http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassNotFoundException.html
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NoClassDefFoundError.html

    /J
  14. Hi Folks,what's the difference between ClassNotFoundException and NoClassDefFoundErr? I mean, I know what ClassNotFoundException means, but I don't know NoClassDefFoundErr... :(

    Here is description of NoClassDefFoundErr from JDK API documentation

    Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found. The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.

    Hope you get it now..

    regards,
    Aravind.
  15. OffTopic : java -verbose[ Go to top ]

    Often I have different versions of a jar file lying around at different places in the CLASSPATH, and I need to find out where a class is getting loaded from. On Sun JDK starting the VM with -verbose flag prints out information about the order in which classes get loaded. For eg :
    [Opened C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\sunrsasign.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\jsse.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\jce.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\charsets.jar]
    [Loaded java.lang.Object from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Loaded java.io.Serializable from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Loaded java.lang.Comparable from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Loaded java.lang.CharSequence from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [..]
    [Loaded com.sun.labs.tools.huckster.Huckster$13]
    [..]

    For classes that are loaded from rt.jar, it prints out the URL from which the class is loaded. For other classes, this information is missing. I think it would be great if it could print the directory or jar from which any class is loaded from. Is there any standard way of figuring out this information? Is there any good reason why this is not implemented as part of java -verbose?

    Thanks,
    Binil
  16. OffTopic : java -verbose[ Go to top ]

    I think it would be great if it could print the directory or jar from which any class is loaded from.

    Unfortunately it is not possible as Classloaders are free to load classes from anywhere or construct them on the fly...

    Classloading architecture in Java need to be fixed and it should be more straightforward. I would like something similar to extended classpath (or Python modules path) that will be ONLY definition of classes loading order.
    By extended I mean that entry like “myclassloader:some/path” will be handled by classloader that accepts prefix “myclassloader: pretty much the same schema that is employed to find appropriate JDBC driver by database url.
    IMO Thread.getCurrentClassloader() should be only way to get a classloader. Please no more Class classloader, Thread current classloader, System classloader mess: give us one unified API.
  17. OffTopic : java -verbose[ Go to top ]

    It doesn't do what you're asking but close...
     -XX:+TraceClassResolution
  18. OffTopic : java -verbose[ Go to top ]

    See JWhich
    http://www.clarkware.com/software.html
  19. Lets have a WebService ??
  20. OffTopic : java -verbose[ Go to top ]

    Often I have different versions of a jar file lying around at different places in the CLASSPATH, and I need to find out where a class is getting loaded from. On Sun JDK starting the VM with -verbose flag prints out information about the order in which classes get loaded. For eg :
    [Opened C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\sunrsasign.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\jsse.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\jce.jar]
    [Opened C:\j2sdk1.4.2_02\jre\lib\charsets.jar]
    [Loaded java.lang.Object from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Loaded java.io.Serializable from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Loaded java.lang.Comparable from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [Loaded java.lang.CharSequence from C:\j2sdk1.4.2_02\jre\lib\rt.jar]
    [..]
    [Loaded com.sun.labs.tools.huckster.Huckster$13]
    [..]

    For classes that are loaded from rt.jar, it prints out the URL from which the class is loaded. For other classes, this information is missing. I think it would be great if it could print the directory or jar from which any class is loaded from. Is there any standard way of figuring out this information? Is there any good reason why this is not implemented as part of java -verbose?

    Thanks,
    Binil
  21. Appologies for the repost[ Go to top ]

    :(
  22. Re: OffTopic : java -verbose[ Go to top ]

    Check out http://www.oopsconsultancy.com/software/classfind/
  23. jarhoo.com sounds very much like yahoo.com: while this might be a nice joke, most lawyers don't understand them... There have been a number of trademark processes in the last time where names which no sane hacker would confuse with trademarks have been found to infringe the trademark's rights. Also a trademark like yahoo is so EXPENSIVE that when you are found guilty your life is ruined. I wouldn't risk that.
  24. Hi all

    In response to the feedback from searches performed
    Jarhoo has recently added a number of popular applications to the database, increasing the number of classes indexed by around 30% since the last update.

    The full list of applications currently supported can be found
    here

    Any comments/feedback are welcomed.

    Thanks

    Michael Lavelle
    Jarhoo Development Team
  25. Doesn't appear to be free anymore.
  26. Jarhoo is not free anymore[ Go to top ]

    BOOOO-HISSS

    Jarhoo is not free anymore. :(

    I'll have to move on to a free service somewhere else.
  27. Whatjar is free[ Go to top ]

    Check out http://www.whatjar.net it's not quite as "big" as Jarhoo but has some neat features!
  28. Jarhoo is not free anymore[ Go to top ]

    Yeah - I will purposefully avoid these types of pirates and do it myself.
  29. Another Jar Finder Service[ Go to top ]

    Another service is http://www.jarfinder.com/. They seem to have a larger database than whatjar and they are currently free.
  30. Re: Another Jar Finder Service[ Go to top ]

    Another service is http://www.jarfinder.com/. They seem to have a larger database than whatjar and they are currently free.
    And we intend to remain free. The main cost of running the service is the effort required to add to and update the index. If you find jarfinder useful you can help by sending the details of jars we do not yet index to contact1 at jarfinder dot com. Please send links to the download urls rather than the jars themselves. Please note that we do not normally index commerical jars unless they are submitted by the copyright holder.
  31. Thanks for the link on jarfinder[ Go to top ]

    jarfinder rocks...at least until they go the way of jarWHO ? (regarding jarWHO, wonder why anyone would want to sign up with them and their crappy interface, smaller database, and not one, but two friggin' ad panels !!)