Problems with dist

First hello to all:

I don't know the problem but, if I run my project into NetBeans IDE goes perfectly, and if I build it and I try to run the jar file of "dist" folder that contains other folder called "lib" that contains the files: lwjgl.jar, jorbis-0.0.15.jar, jogg-0.0.7.jar,jinput.jar, jme.jar bla, bla bla. . . the terminal throws one Exception like this "Exception in game loop

java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path"

Somebody knows one solution for this, or the problem?


You need to include the path to the jME native files (dll, jnlp, so) when launching the JAR

java -jar JAR_NAME -Djava.library.path="/Volumes/Storage/Documents/Programs/_jME/jME_Physics_CVS/jmephysics/impl/ode/lib":"/Volumes/Storage/Documents/Programs/_jME/jME_CVS/jme/lib"



java -jar JAR_NAME -Djava.library.path="C:Documents and SettingsUserMy DocumentsMy Programs_jMEjME_CVSjmelib";"C:Documents and SettingsUserMy DocumentsMy Programs_jMEjME_Physics_CVSjmephysicsimplodelib"

For windows

My syntax may be a little off, but basically thats it

(Notice the semi-colon delimeter for Windows vs. colon for OSX and Linux)

thanks for all, i will try ^