I'm having issues exporting my java project written with the LWJGL library (version 3.2.1) because of the new bundling of the native ('.dll') files.
I want to run my code outside of eclipse to test the speed it which my game runs, but there seems to be no simple way of exporting a project with references to external libraries.
When I open jarSplice (right after I export my project as a (not runnable) '.jar' file), I add the jars of LWJGL (which are grouped into sets of ['XX.jar', 'XX-natives-windows.jar'] and skip the natives section (because LWJGL apparently handles that on its own now) and press "Create FAT file". Then I receive following message: "Error: Duplicate file [whatever the first native file name was].dll".
I've heard of using System.setProperty()
but I don't understand how to utilize that properly.
If anyone knows how to do this please let me know. Thanks in advance!
Edit: I'm sorry if this is slightly off-topic but I haven't found a better site to ask this