DB2 Control Center on Linux shows blank window

Man, I hadn’t posted anything in a while.

Anyway, I was having trouble getting the DB2 Control Center (db2cc) to work on Ubuntu 8.04 (Hardy.) Whenever I tried to run db2cc all I was getting was a blank gray window and found that setting the following variable makes it work:

AWT_TOOLKIT=MToolkit

You can set this automatically by adding the following to your .bashrc or .profile file:

export AWT_TOOLKIT=MToolkit

By the way, I found this quick solution on this forum. Hope this helps.