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 no
java -classpath lib/*.jar:. my.package.Program
Windows:
java -cp file.jar;dir/* my.app.ClassName
Linux:
java -cp file.jar:dir/* my.app.ClassName
Remind: - Windows path separator is ; - Linux path separator is : - In Windows if cp argument does not contains white space, the "quotes" is optional
;
: