I did some random terrain generator:

Now i would need to load a texture, would look much nicer then

First i tried the Tutorial ond this side (
http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/devil/loadingtextures).
All i got was:
org.lwjgl.opengl.OpenGLException: Invalid operation (1282)
at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
at org.lwjgl.opengl.Display.swapBuffers(Display.java:555)
at org.lwjgl.opengl.Display.update(Display.java:571)
After this, i tried the NeHe tutorial about loading textures. After changing:
IL.ilGenImages(1, image);
to
IL.ilGenImages(image);
it compiled fine, but when running, no texture is visible on the crate.
Any ideas
