Install Adobe Flex Builder Linux(alpha) in Ubuntu

Yesterday, i found the Flex Builder for Linux on Adobe Labs. Since i am a Flex Developer i would like to install Adobe Flex Builder Linux(alpha) in my Ubuntu OS. I have noticed here that the Flex Builder Linux is a plugin-only version of the Flex Builder, the desktop version for Linux not yet released. So i need to install Flex Builder as plug-in on the Eclipse IDE.

This Flex Builder Linux is not installed properly in the other version of the Eclipse(lower or upper than 3.3.x). Specifically, Eclipse 3.3.x is only supports to install this Flex Builder. The following prerequisites must be installed before that.

  • Java Runtime Engine(JRE) latest
  • Eclipse 3.3.x

Install Java Runtime in Ubuntu

To install the latest JRE, go to Add/Remove… Applications, select ‘Sun Java 6 Runtime‘ and click Apply changes. it installs latest JRE.

add-remove-applications

Install Eclipse 3.3.x

Since the Flex Builder Linux supports Eclipse 3.3.x, we need to download from eclipse.org, Click here to download Eclipse 3.3.x. The Ubuntu synoptics will download latest Eclipse which is mostly not supported. After completing the download, do the following steps to install Eclipse.

Extract the tar.gz file and move to a folder where you want to install.

tar xzf eclipse-jee-europa-winter-linux-gtk.tar.gz
sudo mv eclipse /opt/eclipse
cd /opt
sudo chown -R root:root eclipse
sudo chmod -R +r eclipse
sudo chmod +x `sudo find eclipse -type d`


Create a executable file to launch Eclipse

sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse

#!/bin/sh
#export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
export ECLIPSE_HOME=”/opt/eclipse”

$ECLIPSE_HOME/eclipse $*

Create Menu for Eclipse

sudoedit /usr/share/applications/eclipse.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

Initialize the setup

/opt/eclipse/eclipse -clean

Thats all, eclipse installed, lets do the Flex Builder installation.

Download the Adobe Flex Builder Linux(alpha) here

Change the downloaded file as executable (chmod +x)

Execute the file using shell (sh flexbuilder_linux_install_a4_081408.bin). Now proceed with the installation wizard and we need to give the path of the Eclipse where its installed. In my case its /opt/eclipse and make sure the folder having write permission if you not installed from root user.

adobe_flex_builder_linux

Once the installation complete, you just go to Applications –> Programming –> Eclipse. Create a new workspace for Flex and get in to the Eclipse. Change the Flex development perspective and enjoy the coding with Flex on Linux (Ubuntu) :)

Be Sociable, Share!

Leave a Reply


Copyright © 2008-2010 K BalaSubramanian | Credits