I'm trying to run my java program with 2 external libraries ( lwjgl.jar and slick-util.jar )
compiling worked fine
but when i run with the following command:
java -cp bin;.;lib/lwjgl.jar;lib/slick-util.jar; Game
I get the following Exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
Change that to:
The
-Djava.library.path
is a search path; i.e. a list of places to look for thelwjgl.dll
file.