Computing.Net > Forums > Programming > How to find a jar given a class?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to find a jar given a class?

Reply to Message Icon

Name: G Chen
Date: April 24, 2004 at 06:21:31 Pacific
OS: win2k
CPU/Ram: 1.8G/512mb
Comment:

Folks:

Let’s say I have a java source file that imports a class as follows:

import ab.cd.ef;

public class{
...
}

Of course, I need that jar file in the classpath in order to be compiled. What if I don't know what jar file includes ab.cd.ef class? I know there is a way -- on my local PC, I can search *.jar that includes text "ab.cd.ef". If I am lucky I can find that jar file.

But sometimes, I don't have such a jar file on my computer. Then I need to download it from internet, so now the problem is how to find that specific jar file so that I can download it?

Can anybody throw some thought to enlighten me?

Thanks a lot!




Sponsored Link
Ads by Google

Response Number 1
Name: gpp
Date: April 26, 2004 at 05:35:30 Pacific
Reply:

You'd probably have to search for it... just use google.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to find a jar given a class?

how to find the sum of a 4 digit number www.computing.net/answers/programming/how-to-find-the-sum-of-a-4-digit-number-/1143.html

How to convert a CAD file to .net www.computing.net/answers/programming/how-to-convert-a-cad-file-to-net/15097.html

How to put a password in a folder? www.computing.net/answers/programming/how-to-put-a-password-in-a-folder/7021.html