"The import org.lwjgl.Display cannot be resol

Sorry, wrong forum! I’ve reposted my thread here

Hi there!

As suggested by Middy I have downloaded Eclipse.

This code example, that demonstrates how to sett up an OpenGL Window, produces the below listed errors. As described in the above linked thread I have installed the LWJGL files as told to on the official site.

java -cp lwjgl.jar;lwjgl_test.jar;lwjgl_util.jar; org.lwjgl.test.WindowCreationTest
and
java -cp lwjgl.jar;lwjgl_media.jar;lwjgl_test.jar;lwjgl_util.jar; org.lwjgl.examples.spaceinvaders.Game
both work. (1st creates an empty window | 2nd. starts a space invaders game).

Eclipse finds the following problems:


  Description                                            Resource           In Folder          Location
* The import org.lwjgl.Display cannot be resolved        Lesson01.java      OpenGL Window      line 22
* The import org.lwjgl.DisplayMode cannot be resolved    Lesson01.java      OpenGL Window      line 23
* The import org.lwjgl.opengl.Window cannot be resolved  Lesson01.java      OpenGL Window      line 25
* Window cannot be resolved                              Lesson01.java      OpenGL Window      line 78
* Window cannot be resolved                              Lesson01.java      OpenGL Window      line 97
* Window cannot be resolved                              Lesson01.java      OpenGL Window      line 110
* Display cannot be resolved                             Lesson01.java      OpenGL Window      line 138
* DisplayMode[] cannot be resolved or is not a type      Lesson01.java      OpenGL Window      line 138
* Window cannot be resolved                              Lesson01.java      OpenGL Window      line 148
* Window cannot be resolved                              Lesson01.java      OpenGL Window      line 151
* Display cannot be resolved                             Lesson01.java      OpenGL Window      line 185
* Window cannot be resolved                              Lesson01.java      OpenGL Window      line 200