Bare-bones jME project for eclipse

hi folks,



following some less than successful attempts in lwjgl/jme programming in xCode i gave up and switched to eclipse. i am too unfamiliar with eclipse to know what goes where - especially when it comes to the native libs. i still keep running into UnsatisfiedLinkErrors such as (even though i have the liblwjgl.jnilib in the /Library/Java/Extensions/ folder



Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/huber/Documents/C-Java/JAVADataCentral/Games/Prototyp2Eclipse/native/macosx/liblwjgl.jnilib:

  at java.lang.ClassLoader$NativeLibrary.load(Native Method)

  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)

  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)

  at java.lang.Runtime.loadLibrary0(Runtime.java:822)

  at java.lang.System.loadLibrary(System.java:993)

  at org.lwjgl.Sys$1.run(Sys.java:67)



would anybody be so kind to share a copy of a bare-bones eclipse project that is set up the way it ought to be for cross platform development of a jME web app. my email is regbob.home@gmail.com.



thanks a major stack,

Your vm is unable to find the native libs.

Do the following:

Add all your dlls, sos … to a lib directory in the project.

Now open the the run dialog. Go to the arguments tab.

Add "-Djava.library.path=<dir>" to the VM Arguments input box.