UPDATE: Thanks EddieA for providing the proper fix for this error
Symptoms:
- 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)
Cause:
Aptana integrates with Firefox 2 only. The errors relate to it not finding some needed libraries
Resolution 1 (recommended):
Resolution 2:
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.
Code:
sudo apt-get install firefox-2
Sources:
Bookmarks