I\'m trying to start my java game but I have some troubles with the java command line:
Here is what I type:
C:\\>java -Djava.library.path=%cd%\\lib
This because lwjgl library is made by two components:
The first error you are getting is because you are setting the library path, that should contain the native library, but it does contain the .jar. So you get a java.lang.NoClassDefFoundError
because you should set either the library path to the folder that contains native library, either the classpath to contain the real lwjgl.jar file.
The second error that you get with Eclipse is a successive step: your classpath contains the jar library but it is not able to find the native library attached to it, you can fix it in the following way: