Inverted Colors of textures on Mac OS X

I am not sure wheather it belongs here but anyway:

my application loads JPEG textures which are displayed correctly on linux and windows machines, but appear in iverted colors on Mac OS X. any idea how to avoid this? I have seen some demos with textures which works ok on mac os x.

What version of Java on OS X?
How are you loading the images?
Did you account for differences in the native byte order?

OpenGL Renderer = NVIDIA Quadro FX 4500 OpenGL Engine
OpenGL Version = 1.5 NVIDIA-1.4.18
JOGL JSR-231 beta 2
G5 4GB RAM Mac OS X (PowerPC) (10.4.5)
J2SE 5.0 Release 3

How do you account for differences in the native byte order? Is there a method for that?

I suppose to depends on how you are loading the texture images and all that. I haven’t done enough with JOGL yet to know if you need to deal with the platform byte order when passing texture data to the JOGL APIs. But if you are using ByteBuffers you can try setting the order() explicitly.