Friday, January 27, 2012

Installing Aptana Studio 3 and eclipse BIRT on LinuxMint 12 and Ubuntu Oneiric

I'm trying to learn web programming with PHP and reporting for my development purpose.

The first step is installing the IDE for that purpose, and I choose to use Aptana Studio 3 and Eclipse BIRT (both of them can be installed standalone with a little repository need.

Currently I'm using Linux Mint 12 which is based on Ubuntu Oneiric, so this simple step can be used for both distro.

This guide taken from with a little addition from samclarke site.


Lets start the installation :

INSTALLING APTANA STUDIO 3

1. Installing Sun Java Development Kit

sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

2. Download & install xulrunner

Ubuntu 11.10 doesn’t include xulrunner so it must be downloaded.

If you are using Ubuntu 64 bit use:

wget -O xulrunner.deb http://launchpadlibrarian.net/70321329/xulrunner-1.9.2_1.9.2.17%2Bbuild3%2Bnobinonly-0ubuntu1_amd64.deb
sudo dpkg -i xulrunner.deb

3. Download the Standalone version of Aptana Studio 3 from the Aptana Studio website.

4. Unzip it to /opt/aptana-studio-3:

sudo unzip [name of Aptana Studio ZIP file here].zip -d /opt
sudo mv /opt/Aptana\ Studio\ 3 /opt/aptana-studio-3

5. Install the menu item:

wget http://www.samclarke.com/wp-content/uploads/2011/11/AptanaStudio.desktop
sudo mv AptanaStudio.desktop /usr/share/applications/AptanaStudio.desktop

THEN INSTALLING ECLIPSE BIRT

If you do not install Aptana Studio 3, run step 1 and 2 above.

1. Download BIRT All-in-One from Eclipse BIRT Home.

2. Extract downloaded file to /opt/eclipse

sudo tar -zxvf [name of eclipse BIRT file here].tar.gz /opt 


3. Install the menu item :

In this step if you are not install Aptana Studio using installation step above follow step 3.a then 3.b, for who install Aptana Studio using steps above can jump to 3.b.

3.a


wget http://www.samclarke.com/wp-content/uploads/2011/11/AptanaStudio.desktop
sudo mv AptanaStudio.desktop /usr/share/applications/AptanaStudio.desktop

3.b


sudo cp /usr/share/applications/AptanaStudio.desktop /usr/share/applications/eclipse.desktop




Edit eclipse.desktop


sudo pico /usr/share/applications/eclipse.desktop


Replace all text that reffering to /opt/Aptana-studio-3  by  /opt/eclipse

Save the file (using ctrl+o) then exit.

Now you can find the shorcut to Aptana and Eclipse in programming menu.