but its not recognizing GL_CLAMP_TO_EDGE so I can´t try that.
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, org.lwjgl.opengl.GL13.GL_CLAMP_TO_EDGE);glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, org.lwjgl.opengl.GL13.GL_CLAMP_TO_EDGE);
It has probably nothing to do with the image itself (unless you actually have those lines IN your image but I guess you dont) but with the way the texels are rasterized. Clamping only works if the area of the texture that you are drawing is equal to the entire size of the texture. If you are using a texture atlas and only drawing a portion of it clamping will not help. In this case you need to either change the filters to a nearest neighbour filter or add a transparent border around each part of the texture atlas.