Jul 07

Eclipse Ganymede startup problem in Ubuntu

eclipse swt xulrunner ubuntu

I installed Ganymede on Ubuntu, but it crashed on startup:

org.eclipse.swt.SWTError: XPCOM error

Since a while SWT is able to use Mozilla as browser, that's what the XPCOM is about. The problem is SWT trying to use my Mozilla installation and fails.The Eclipse FAQ describes some settings for linux browsers. But this did the trick for me.

Install a separate version of xulrunner:

sudo apt-get install xulrunner

Append this to $ECLIPSE_HOME/eclipse.ini:



✱ ✱ ✱