I want to use the LWJGL library in Eclipse, I extracted the files into C:\javalibs\lwjgl.
Now when I try to test the LWJGL library like this:
C:\javalibs\lwjgl>java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar;jar\jinput.jar; -Djava.library.path=C:\javalibs\lwjgl\native\windows org.lwjgl.test.WindowCreationTest
Normally there should open a game window from LWJGL, but DOS says that java is a non valid command or wrongly spelled.
What am I doing wrong?
Thank you very much!
Try
java -versionfirst – if this does not show java version information, make sure you have a Java installed and the path to thejava.exefile on yourPATHenvironment variable.