Hallo,
i cannot start any jme application from within eclipse
the error message is:
java.lang.UnsatisfiedLinkError: D:localjavajmeliblwjgl.dll: Zugriff verweigert // this is german and means access denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:148)
at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:191)
at com.jme.app.BaseGame.start(BaseGame.java:49)
at jmetest.renderer.TestTeapot.main(TestTeapot.java:61)
as you can see, he finds the library. I have added the dir via the lwjgl.jar in project->properties…
I have no idea, what might be the cause
the lib ist not writeprotected!
similar forum threads are no help…
Im using jdk 1.6 (build 1.6.0-b105)
Eclipse 3.2
Windows XP 32bit
Pentium 4M 1.6Ghz
Nvidia geforce4 go 440
jme sourcecode from cvs
thank you in advance
i solved it…
i assigned the executable bit with cygwin (chmod +x *.dll) for dlls in lib dir
i dont know how these are mapped to windows, because in the properties window theres no executable bit
is this a bug of the jvm, i have no idea!
afaik there's no x bit under win32.
how exactly are you starting eclipse?
i start eclipse via desktop link
by the way, i used cygwin cvs to checkout,
this seems to be the problem. I guess theres a problem with access rights.
I verified it by using windows command line cvs without cygwin and without any problem starting jme.
now why do you do such a thing an check out from cygwin and then start from win32? XD
see? that's what you get if you don't follow the wiki instructions