Troubles while launching a demo from a command prompt

I've got some trouble to launch samples with the following command line :



java -Djava.library.path=./lib -cp

./lib/lwjgl.jar;./lib/jogg-0.0.5.jar;./lib/jorbis-0.0.12.jar;./target/jme.jar;./target/jme-awt.jar;./target/jme-effects.jar;./target/jme-model.jar;./target/jme-sound.jar;./target/jme-terrain.jar;./target/jmetest.jar;./target/jmetest-data.jar jmetest.effects.TestDynamicSmoker



i've found this here :

http://www.jmonkeyengine.com/wiki/doku.php?id=getting_started#step_1java_compiler_and_runtime_environment



here is the trace :



Exception in thread "main" java.lang.NoClassDefFoundError: jmetest/effects/TestDynamicSmoker



Why it still not found the class ?

If you are on Linux replace ; with :

If on windows make sure the path to that jars is correct and they all exist (especially the jmetest.jar) - e.g. execute a

dir .targetjmetest.jar


to check your working dir etc.

thanks it solved my problem