Tuesday, November 07, 2006

Getting SQL Developer to work with XGL

I installed SQL Developer under openSuse 10.1 with no difficulty but when the program started, it showed up as nothing but a blue window.
I discovered on OTN that this was something to do with Java swing not working with graphics acceleration. The recommendation there was to disable acceleration. Guessing that this might apply to XGL as well, I found that disabling XGL effects corrected the issue. No good for me, though, because I like XGL effects.
A quick search for XGL and swing turned up this tip:
Add the line AWT_TOOLKIT="MToolkit" to /etc/environment then reboot.
Problem solved.