I'm having a problem with LWJGL and I just can't seem to find a working solution. I'm developing a game for my university project and when I run the 'SimpleGame' code, I keep getting this error: 'Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path'
I have been looking for a solution for weeks and it just doesn't seem to want to work. I've copied the jar files to a 'lib' folder within my project and created a folder for the natives which contain the necessary DLLs and I've put everything in my build path and tried multiple combinations of VM arguments.
I'm at my wits end with this. Any help would be greatly appreciated. Thanks.
I worked it out. I copied the 'lwjgl' folder (containing docs, jars, natives folders, etc) into a folder within my project called 'lib'. I hope this helps someone else in future as I've been trying to find a working solution to this for ages.
I edited my VM arguments so they looked like this (can't post a screenshot because I don't have enough rep yet):
-Djava.library.path="lib\lwjgl"
-Djava.library.path="lib\lwjgl\jar"
-Djava.library.path="lib\lwjgl\native"
-Djava.library.path="lib\lwjgl\native\windows"
I also made sure that 'lwjgl.jar' and 'slick.jar' were added to my build path. Again, I hope this helps! Many thanks to @Crynix for advising me to check my VM arguments.