Thursday, February 10, 2011

Aptana Studio 2.0.5 on Ubuntu 10.04

Aptana Studio 2.0.5 used to work well in my Ubuntu 9.04. It started to split out error message related to xulrunner after I updated Ubuntu to 10.04. When I removed the Apatana and its workspace, it even stopped to show the messages and silently crashed. After digging and trying for almost an afternoon, I fixed the problem by adding this line to the AptanaStudio.ini file:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2.13
You might change the path to whatever on your system. Note that there is a /usr/lib/xulrunner directory on my system, but that does not contain or link to the real literary files. I did not try if export the $MOZILLA_FIVE_HOME to the real xulrunner lib path will also work.