This blog is subject the DISCLAIMER below.

Sunday, February 25, 2007

Running Netbeans on XGL

If you tried to use Netbeans on XGL before, you probably know that you can't do it. It shows like an empty window. The solution being around is that you use a nested X server and so on. Other solutions include recompiling the JRE.

Well, I ran into a simple solution. You can add this to /etc/environment, and viola, it is working:

For command line guys:
sudo echo 'AWT_TOOLKIT="MToolkit"' >> /etc/environment

Have fun ;)


James Branam said...


I'm the Community Docs Manager for NetBeans. I've read your blog entry, and I think this would be great content for our Community Docs wiki page. Would you be interested in contributing this in the category "Tips and Tricks"?

I look forward to your reply.

James Branam
NetBeans Community Docs manager

Mohammad Nabil said...