Some really wild guesses: The capabilities of the software 3D renderer on 10.7 might be different from that on 10.8, or a different pixel format might end up being used on 10.7 and it breaks an assumption somewhere else in the Java codebase. Lots of possibilities...
Cheers,
--
Darius