Start JME program from command prompt

Hey there,

I have huge problems running my JME program from Windows command prompt.

It runs fine within Eclipse. I know that I have to deal with the “-Djava.library.path” parameter, but I can’t figure out what to do.



Here’s the batch file I wrote. I am running this within the bin folder:



java -Djava.library.path="…liblwjglnativewindows" LaBeLoTest



LaBeLoTest is my test class.



Here’s the error message i get:







I hope someone can help.



Best regards!

The exception is not because of the java.library.path parameter, but because lwjgl.jar is not on the classpath.

Can tell me/show me a link, how to put lwjgl into classpath?

You might find the wiki page about packaging and deployment helpful :slight_smile: