I am very new to java but have been really enjoying it so far. Progress has been fast and I almost have a little demo game fully working.
However when I export it (I'm using Eclipse) the .jar won't run properly (it loads to a grey screen and sits there), yet it would run perfectly fine before the sounds were added.
Launched via CMD with java -jar path to jar gives me this error:
"Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path"
I've been looking around online about this for an hour now and I've readded and relinked the libraries many many times yet the error still persists. I am hoping its just some rookie mistake I am making and not some wierd personal system error or something. That would be a bit of a bummer.
(Yeah my name is Matt)
I also went to JRE system library and set the 'Native Library Location' there to the same location as above.
It does run fine if ran from within Eclipse so the files do work. I had wondered if maybe they're old versions or something but if it works in Eclipse then it should work when its exported... exported correctly, anyway.
This is very frustrating so thank you in advance for any help!