How to install Flex3 builder in RAD7

The IBM Rational Application Developer 7 (RAD 7) IDE, based on Eclipse 3.3 doesn’t work out-of-the-box with Flex Builder 3. This is due to the IBM Java SDK using a different Xerces version then the one Flex Builder needs.

You’ll likely receive the following error:

java.lang.IllegalAccessError:
org.apache.xerces.util.XMLAttributesImpl$Attribute

Here is an easy guide to get you up and running quickly:

  1. Install RAD7
  2. Install Flex Builder 3
  3. At the end of the install, the installer will complain about not being able to automatically setup an Extension Location. Be sure to execute the given instructions manually
  4. Quit RAD7 if running
  5. Edit the eclipse.ini file in c:\Program Files\IBM\SDP70 (directory where you installed RAD7)
  6. Add the following line on a new line at the end of the file:
-Xbootclasspath/a:c:\progra~1\adobe\flexbu~1\sdks\3.0.0\lib\xercesImpl.jar

Restart RAD7 and open the Flex Development perspective to start developing the next-gen Flex app :-)

Warning: count(): Parameter must be an array or an object that implements Countable in /home/javablog/web/wp-includes/class-wp-comment-query.php on line 405

9 thoughts on “How to install Flex3 builder in RAD7”

  1. That’s a dumb workaround. Xerces is an XML parser which is used by everything under RAD 7.0. By adding this as a -Xbootclasspath pointing to Adobe’s own version of Xerces you risk the potential of breaking other plugins or other aspects of RAD.

  2. Hey Wim,

    Why on your right mind would you add other stuff to that already over-bloated beast that is RAD 7 ? [I had to suffer through it enough to know :-)]

    I use the Adobe Flexbuilder 3 as a separate install – less RAM being eaten.

    What advantages do you see to RAD 7 for Flex dev ?

  3. Hi Philippe,

    I’m doing this because then everything is in one place (together with the projects Java code (EAR project, WAR project, Java code)).
    Also I thought a RAD instance and a FlexBuilder instances of Eclipse also eat a lot of mem. (of which I have only 1GB of on that system…)

    Wim

  4. Yes, I’ve tried running Flex Builder 3.0.2 with Eclipse 3.5… but it doesn’t work. There are few bugreports on Adobe’s site, where they say they’ll post workaround to get it running.

    They also said that no new Flexbuilder 3.x will be released anymore. Flash Builder 4 beta does work with Eclipse 3.5 though!

Leave a Reply

Your email address will not be published. Required fields are marked *