http://www.lwjgl.org/wiki/index.php?title=Using_Frame_Buffer_Objects_(FBO)
I copied EXACTLY from the LWJGL wiki about Using Frame Buffer Objects the code:
IntBuffer buffer = ByteBuffer.allocateDirect(1*4).order(ByteOrder.nativeOrder()).asIntBuffer(); // allocate a 1 int byte buffer
The LWJGL is installed correctly but i get
The method allocateDirect(int) is undefined for the type ByteBuffer
I dont know how to fix it. I updated my LWJGL lib and natives. Help