OpenGL Data Types

So I read that OpenGL has data types such as GLboolean, GLchar, GLint, etc. They’re used to make it easier to port OpenGL code from one plateform to another, however, I’m not sure how to use them. It’s not that I need them, but more of me being curious.

private GLint testX = 5;

That gives me an error, GLint cannot be resolved to a type, does LWJGL not have/support OpenGL Data Types?

In Java we already have ‘portable’ primitives: an int will always be 32 bit, and a long will always be 64 bit, regardless of your operating system and/or cpu architecture.

Therefore we don’t need (nor have) these GL-primitives.

AH, oh course, now I feel silly for asking. Thanks for the speedy reply.