Just a tip about java command.
It seems the -cp option is not compatible with the -jar option …
A colleague asked me how to launch a Main class within a jar AND having an other jar in the classpasth. According to java -help it seems possible to write something like:
java -cp lib.jar -jar app.jar
But it doesn’t work and results in NoClassDefFoundErrors … the way to do that we found is :
java -cp lib.jar;app.jar app.Main
May be we missed something here ….