In fact, you only did half the work using * .jar. You will also need to pass them as a java classpath: java -cp $CLASSPATH mypackage.mysubpackage.Start. (in windows, I think the variable usage in the script is% CLASSPATH%)
Then edit: take a look at BigMike's comments on your subject. If you are using the java version <1.6, you may need to use a loop to create the full% CLASSPATH%, including each full jar name, because I assume that the Windows shell does not make extensions , as do * nix systems.
source
share