原创作者: peigen
阅读:1364次
评论:0条
更新时间:2011-05-26
运行的时候需要加入jvm的参数
-Djava.library.path=path/to/dir
我把natives放到lib下了,所以是
-Djava.library.path=./lib/natives
下面是lwjgl官方的faq
-Djava.library.path=path/to/dir
我把natives放到lib下了,所以是
-Djava.library.path=./lib/natives
下面是lwjgl官方的faq
I keep getting an java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
This is because the path to the native dll hasn't been supplied. Add a -Djava.library.path=path/to/dir to the commandline or as an VM option in your IDE
评论 共 0 条 请登录后发表评论