
Aptana Studio IDE
UPDATE: With the latest version of Aptana 2 and Ubuntu 9.10 it seems you dont need to do this hack anymore. Try it without first of all, then if you get problems – apply the fixes as described.
I have been using the Aptana IDE for PHP and Ajax development for a while now on my Windows system, and have decided that it is much better than the standard Eclipse, at least for me. I wanted to start using it on my Linux machine but encountered problems which prevented it from running.
It took me a while to find out how to get it to work, but thanks to Google and some others who have had this problem before me, I now have a working Aptana Studio on my Ubuntu system.
Here is how to get it working:
- Download and extract Aptana Studio for Linux (All in one) from here.
- Use Synaptic to install xulrunner (version 1.8).
- Use Synaptic to install a JRE.
- Create a text file (in your home folder etc) which we will use to set up the Aptana environment and execute the application. Call it startAptana.
- Paste the text from below in to the new text file, and be sure to change the bottom line so that it matches the path to your Aptana installation.
- Make the startAptana file executable.
- Double click the startAptana file to start using Aptana, or create menu icon that links to it.
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
/home/sam/Apps/aptana/AptanaStudio