Setting multiple jars in java classpath

Posted by Chris Serra on Stack Overflow See other posts from Stack Overflow or by Chris Serra
Published on 2008-10-20T19:32:45Z Indexed on 2010/03/18 22:31 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

Is there a way to include all the jar files within a directory in the classpath?

I'm trying java -classpath lib/*.jar:. my.package.Program and it is not able to find class files that are certainly in those jars. Do I need to add each jar file to the classpath separately?

© Stack Overflow or respective owner

Related posts about java

Related posts about classpath