UPDATE: Thanks EddieA for providing the proper fix for this error
- You get an "An SWT error has occured." when doing various things in Aptana Studio
- You can't update Aptana, view new messages, or preview code
- Your running Firefox 3 (default on Hardy)
Aptana integrates with Firefox 2 only. The errors relate to it not finding some needed libraries
Resolution 1 (recommended):
Install firefox 2. Note that this will NOT cause any issues with Firefox 3 usage. It is safe to have them both installed. Run the following code and restart Aptana. Everything should work fine.
sudo apt-get install firefox-2