Hiah!
With lwjgl2 I always liked to load my natives from a folder next to the jar file; it just seems nicer that way than having to specify a command-line. To do this, I wrote:
System.setProperty("java.library.path", new File("Resources/native").getAbsolutePath());
In my main method.
This, however, does not seem to work with LWJGL3. I’ve googled it a bit, and no one seems to have an issue.
I did, however, find this:
static {
System.setProperty("java.library.path", new File("natives").toPath().toString());
}
Though quite similar to my code, it also does not work.
Is there any way to load LWJGL3 natives from a folder next to the jar file?