Running NetBeans 5.5 in Ubuntu with Beryl
Published March 15th, 2007 in osI installed Netbeans today, but when it started up I only saw a blank screen
I am using Beryl so I supposed that Beryl is responsible for that mess.
So I was searching for a solution which I finally found here.
Basically you only need to install:
sudo apt-get install xserver-xephyr icewm
and then use this handy script to run netbeans.
#! /bin/bash
# You could use Xnest instead of Xephyr here
Xephyr :2 -ac -screen 1024x768 &
icewm --display :2 &
export DISPLAY=:2
~/netbeans-5.5/bin/netbeans &
Alternatively, install beryl-manager, which is a tray application to manage beryl. Right click it, switch to xfce, run netbeans, after it is loaded, switch back to Beryl.
I just found out that you have to add a line to /etc/enviroment:
AWT_TOOLKIT=”MToolkit”
and that should make it. God bless you fella.
btw, I REALLY just found out it, a couple of minutes a go!
This worked for me. I did both the edit for AWT_TOOLKIT and the little script and it is working. I like it and you both taught me something I didn’t know.
Thanks!
David
thanks - this worked a treat, I like it better than switching between xfce and beryl.