This must be a very basic question for Java developers, but what is the best way to find the appropriate jar file given a class name?
For example, give
In Windows, run cmd.exe and type:
for %i in (*.jar) do @jar tvf %i | find "/com/company/MyClass.class"
The jars would have to be in the current directory. For also has a /R option which takes a directory and lets you search recursively.
If Jar.exe isn't in your path, you can do something like @C:\jdk\bin\jar.exe.