FlashBuilder4 for Linux

18 Feb

Flash development in Linux is often left to a generic text editor used with the free Flex SDK. It is certainly possible to code this way, but you do lose out on a lot of the functionality of a more specific IDE. The FB4Linux project provides a plugin for Eclipse that provides a similar environment to FlashBuilder 4. The only downside is that the installation instructions gloss over a few of the details required to get the plugin installed in Eclipse 3.5.2 (Galieo) or the most recent 3.6 (Helios), which is the version of Eclipse that is available in the Ubuntu software repositories at the time of writing.

Step 1

You will need to download the 4 files FB4LinuxaaFB4LinuxabFB4Linuxac and FB4Linuxad. When recombined using the command cat FB4Linux* >FB4Linux.tar.bz2 you end up with a standard tar/bz2 archive.

Step 2

Download and extract the jar files from this file here into the /usr/lib/eclipse/plugins directory. These plugins include Apache Commons Lang, Apache Xerces, Adobe RDC Client, and any other supporting plugins that they require. The actual file names are:

  • com.adobe.coldfusion.rds.client_1.0.266425.jar
  • javax.wsdl_1.6.2.v200806030405.jar
  • org.apache.commons.lang_2.3.0.v200803061910.jar
  • org.apache.xerces_2.8.0.v200803070308.jar
  • org.apache.xml.resolver_1.1.0.v200806030311.jar

Step 3

Extract the FB4Linux.tar.bz2 file you created in step 1 to a convenient location.

Step 4

In Eclipse select Window->Preferences->General->Capabilities and make sure that the Classic Update option is checked.


Step 5

Now click Help->Software Updates->Find and Install.


Step 6

Select Search for new features to install and click Next.


Step 7

Click the New Local Site button, and type in the location where you extracted FB4Linux in step 3 (you will need to specify the eclipse subdirectory to be specific).


Step 8

With the Adobe Flash Builder 4 site selected, click the Finish button. You will be asked which features to install. Tick the Adobe Flash Builder 4 feature and click Next.


Step 9

Accept the terms and click the Next button.


Step 10

Click the Finish button to complete the install.


Step 11

Click Yes to restart Eclipse.


Step 12

You will need to download and extract a copy of the Flex SDK from here. You can set Ecli to use the new SDK by right clicking on your Flash project and selecting Properties. Select the ActionScript Compiler option.


You can then click the Add button to add the location of the Flex SDK you just extracted.


Step 13

Finally you will need to configure the external tools to run your Flash application. Click on the Run toolbar menu itme and select the External Tools Configuration option.


Right click on the Program option and select the New option. Then fill out the Location and Arguments settings to point to your Flash standalone player (which you can download here) and SWF file respectively.


Step 14

Congratulations. You should now have a fully functional Flash development environment in Linux!


Step 15 – A breathe of “AIR”

(some people suggest using Eclipse Galileo for better AIR development compatibility)

If you are going to build AIR applications you’ll encounter two errors:

1st – the create new Flex project wizard will never complete (finish the dialog window)

This happens because there is a missing file called “descriptor-template.xml” that is needed for flex applications. You can correct it with the following trcik but will generate the second error whatsoever, that you will have to correct later.

locate the file (it is bundled with flex SDK)

pedro@io:~$ locate descriptor-template.xml


Copy it to the eclipse folder that seems to be demanding it (I always eclipse from command line so I can look ate runtime exceptions and errors)

pedro@io:~$ cp /home/pedro/Apps/flex_sdk_4.1.0.16076_mpl/templates/descriptor-template.xml /home/pedro/Apps/flex_sdk_4.1.0.16076_mpl/templates/air/

Now the wizard completes, but when you compile and run the debug program it will generate a “ApolloLaunchDelegate?.fileDoesNotExist!” error.

2nd How to resolve the “ApolloLaunchDelegate?.fileDoesNotExist!” error:

This is very easy, you simply have to download teh Adobe AIR SDK for linux and compy it to the flex SDK folder (and select “merge” on the copy settings).



Acknowledgements and original post-source

Based on:  http://www.brighthub.com/hubfolio/matthew-casperson/articles/78818.aspx and my own changes

Also suggest to read: http://www.len.ro/2011/01/fb4-on-linux/

Many thanks to  for Eshangrao developing this eclipse plugin and to Matthew Casperson for the tutorial post.



2 Responses to “FlashBuilder4 for Linux”

  1. Shakir July 8, 2012 at 10:18 pm #

    Hi, I enjoyed the way you describe the whole process but i cannot get those plugins? can you give out another link as the Matthew Casperson blog is moved and his new site has no link for it.


  1. Tweets that mention FlashBuilder4 for Linux « Pedro Lopes Research -- Topsy.com - February 18, 2011

    […] This post was mentioned on Twitter by Moving Towards Linux and Moving Towards Linux, Pedro Lopes. Pedro Lopes said: How to use FlashBuilder4 in Linux Tutorial: http://wp.me/p1gBU1-vK #flashbuilder #fb4 #linux #web http://wp.me/p1gBU1-vK […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: