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

后端 未结 7 1416
傲寒
傲寒 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:45

    I had this problem and fixed it using jarSplice (http://ninjacave.com/jarsplice)

    make sure you delete all of the preplaced natives in your jar before you create the fat jar, otherwise it will create a duplicate error

提交回复
热议问题