problem running GIVE 2 client on Windows 7

  2 posts   Feedicon  
Replies: 1 - Last Post: March 01, 2010 06:55
by: ikarpov
showing 1 - 2 of 2
 
Posted: February 11, 2010 20:29 by ikarpov
The current version of the give2 tools (2.2.2) gives the following error on Windows 7:

Caught exception in thread Thread[main,5,main]:
java.lang.UnsatisfiedLinkError: give2-tools\lib\lwjgl-2.1.0\native\windows\lwjgl.dll:
Access is denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:418)
at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
at give.client.client3d.Client3DBase.initSystem(Client3DBase.java:797)
at give.client.client3d.MyFixedFramerateGame.start(MyFixedFramerateGame.java:154)
at give.client.client3d.Main.main(Main.java:143)

It looks like this problem has been solved recently by the LWJGL developers here:

http://lwjgl.org/forum/index.php?action=printpage;topic=2905.0
 
Posted: March 01, 2010 06:55 by ikarpov
I figured out what the problem was here - I think it was entirely on my end all along.

I am developing our system using git (in this case on Windows 7 using Cygwin) which pulls from a central repository. Apparently the DLL files are created without the Execute bit set by default, and this makes Windows not allow their execution. Running "chmod a+x" on the native DLLs in my git repository has fixed this problem!
Replies: 1 - Last Post: March 01, 2010 06:55
by: ikarpov
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close