When I run the .jar, I get a “No lwjgl in java.library.path” error

后端 未结 7 1434
傲寒
傲寒 2020-11-28 15:40

I\'m making a basic game in Java using the LWJGL Library via Netbeans.

I\'ve created a library with the lwjgl, lwjgl_util, and jinput .jar\'s, and I added -Djava.lib

7条回答
  •  鱼传尺愫
    2020-11-28 15:57

    LWJGL needs the native components for your particular platform to be in java.library.path. These are in the subdirectory native in the LWJGL distribution and end in .so on Linux, OSX and Solaris and .dll for windows.

提交回复
热议问题