RSS
 

Installing Aptana on Ubuntu Linux 9.04

26 Jul
aptana

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:

  1. Download and extract Aptana Studio for Linux (All in one) from here.
  2. Use Synaptic to install xulrunner (version 1.8).
  3. Use Synaptic to install a JRE.
  4. 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.
  5. 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.
  6. Make the startAptana file executable.
  7. 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
 

Tags: , , , ,

Leave a Reply

 

 
  1. tyler

    December 24, 2009 at 12:42 am

    If you find that you aren’t able to click buttons after using this method, you need to use GDK_NATIVE_WINDOWS=true in your script instead.

    (eg)

    #!/bin/bash
    export GDK_NATIVE_WINDOWS=true
    /usr/local/Aptana2/AptanaStudio -data /home/logos/Aptana2Workspace -vm /etc/alternatives/java

     
  2. How to : Start Developing Websites in Ubuntu | Hisham Sadek

    March 5, 2010 at 2:56 am

    [...] most of programming languages projects like php, Ruby on Rails, python, Ajax, Jaxer, html, css . This Gudie would help you downloading and Installing Aptana Studio in few easy steps . It would allow you also [...]