At last I got jME up and running! I’m really sorry to say this but the official install guide is ugly for beginners.
This article saved my day, and it should be accessible through the main jmonkey website categories.
http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme
One more question, why do I have to add this argument all the time in each program I run?
-Djava.library.path=./lib
Shouldn’t this be set like a system variable, or a project argument? Just a guess.
You don't have to. It's actually described (in both guides) on the wiki page what you can do as an alternative, set the native library location.
You could also set this paramater as a global VM parameter in Eclipse's preferences. (rather than the project's preferences).
necroMonger said:
One more question, why do I have to add this argument all the time in each program I run?
because in order to access OpenGL java needs some native libraries, and that's the way to tell java where to find them.
no luck yet. I understood that this command line is needed for VM. I found a way for dealing with this by creating a new builder, by putting this argument for this only builder.
[Eclipse Toolbar]
Project > Properties > Builders > New > program > Arguments > -Djava.library.path=./lib
Thanks for replying.