Sorry if my questions seem obvious to you.
* Run the command *
To exclude any doubts, haven't you tried to launch your bank with such a team?
java -jar myJar.jar -cp ./lib
If you use the classpath option, you probably haven't;). The option --classpath (or -cp) and -jar cannot be used together.
Prefer using a relative path, for example. / lib instead of P: / Tools / ... But, in any case, this will not solve your problem.
* Package location *
As brimborium said, what kind of package are you? src sounds very strange. We suspect a mistake in this.
In the BatchTester class, what did you write for the package directive? Nothing (like the default package, which is not recommended?)?
You start with the class (get rid of comments)
public class BatchTester {
In this case, for sure, src should not be mentioned.
Here is an example manifest that works for me.
Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: jrRevy Build-Jdk: 1.6.0_31 Main-Class: com.sopragroup.training.dojo1.MainSwingApp Class-Path: dojo1-0.5.0-SNAPSHOT-lib/spring-core-3.1.1.RELEASE.jar doj o1-0.5.0-SNAPSHOT-lib/spring-asm-3.1.1.RELEASE.jar [blablabla]
with the following execution structure
/ | + --dojo1-0.5.0-SNAPSHOT.jar | + --dojo1-0.5.0-SNAPSHOT-lib/ | + --spring-core-3.1.1.RELEASE.jar
Obviously, I am using maven to build my application, but the main idea is in it.