Installing Flash Builder 4 and Zend Studio 7.1 together on Mac

If you read my blog you know that one of my favorites setups is Flash Builder and Zend Studio installed together on the same Eclipse instance. This is something that you can easily achieve: install Zend Studio and then grab the plug-in version of Flash Builder and start the installer. At some point you can choose the Eclipse installation you want to use (in this case you’ll point to Zend Studio) and you are done.

However, on Mac there’s a catch: for now Flash Builder 4 is available in only a carbon based version while Zend Studio 7.1 is only cocoa based. And these two versions can not be mixed together (we are working on a cocoa version).

Fortunately there is a workaround. My friend, Roy Ganor from Zend, told me you can use the update URL and this way you’ll be able to install the Zend Studio on top of the Flash Builder 4. The update URL is this: http://downloads.zend.com/studio-eclipse/updates/7_1.

Basically, all you have to do is to open Help > Install New Software… click the Add button to add the Zend update site and then click OK. Next you select this newly added site from the combo-box and follow the wizard. Unfortunately, on the last step you may encounter an error like this:

Cannot complete the install because of a conflicting dependency.
Software being installed: Zend Studio Patches Feature 7.1.0.v20091227 (com.zend.php.patches.feature.group 7.1.0.v20091227)
Software currently installed: Eclipse Web Developer Tools 3.1.1.v200908120400-7R77FStEVw2z07WtDz-OZrhL5C-3 (org.eclipse.wst.web_ui.feature.feature.group 3.1.1.v200908120400-7R77FStEVw2z07WtDz-OZrhL5C-3)
Only one of the following can be installed at once:
JavaScript Development Tools Core 1.0.201.v200908101420 (org.eclipse.wst.jsdt.core 1.0.201.v200908101420)
JavaScript Development Tools Core 1.0.201.v2010012803 (org.eclipse.wst.jsdt.core 1.0.201.v2010012803)
Cannot satisfy dependency:
From: Zend Studio Patches Feature 7.1.0.v20091227 (com.zend.php.patches.feature.group 7.1.0.v20091227)
To: org.eclipse.wst.web_core.feature.patch.feature.group [3.1.1.v20091227]
Cannot satisfy dependency:
From: JavaScript Developer Tools 1.1.2.v200908101420-77-FGCCcNBC-BhLcE_Pm (org.eclipse.wst.jsdt.feature.feature.group 1.1.2.v200908101420-77-FGCCcNBC-BhLcE_Pm)
To: org.eclipse.wst.jsdt.core [1.0.201.v200908101420]
Cannot satisfy dependency:
From: JavaScript Developer Tools 1.1.2.v200908101420-77-FGDCcNBDjBXMoBbFb (org.eclipse.wst.jsdt.feature.feature.group 1.1.2.v200908101420-77-FGDCcNBDjBXMoBbFb)
To: org.eclipse.wst.jsdt.core [1.0.201.v2010012803]
Cannot satisfy dependency:
From: WST Web Core 3.1.1.v200908120400-7H77FDAAT7oGlfz0dFV3j0BgbCD7 (org.eclipse.wst.web_core.feature.feature.group 3.1.1.v200908120400-7H77FDAAT7oGlfz0dFV3j0BgbCD7)
To: org.eclipse.wst.jsdt.feature.feature.group [1.1.2.v200908101420-77-FGCCcNBC-BhLcE_Pm]
Cannot satisfy dependency:
From: WST Web Core Patch 3.1.1.v20091227 (org.eclipse.wst.web_core.feature.patch.feature.group 3.1.1.v20091227)
To: org.eclipse.wst.web_core.feature.feature.group [3.1.1.v200908120400-7H77FDAAT7oGlfz0dFV3j0BgbCD7]
Cannot satisfy dependency:
From: Eclipse Web Developer Tools 3.1.1.v200908120400-7R77FStEVw2z07WtDz-OZrhL5C-3 (org.eclipse.wst.web_ui.feature.feature.group 3.1.1.v200908120400-7R77FStEVw2z07WtDz-OZrhL5C-3)
To: org.eclipse.wst.jsdt.feature.feature.group [1.1.2.v200908101420-77-FGDCcNBDjBXMoBbFb]

I got around this error by following these steps:

  • install the Zend Studio 7.1.x
  • create a folder somewhere on your hard drive and inside of it a new folder named eclipse
  • grab the features and plugins folders from the Zend Studio installation folder and copy them to the eclipse folder you’ve created earlier
  • go back to your Flash Builder 4 installation folder and inside the dropins folder create a file called emf.link. Add in the emf.link file this line: path=/Users/mcorlan/Documents/work/zend_studio_7.1_plugin  – this folder contains the eclipse folder with features and plugins folders (make sure you edit the path according to where you placed the Zend Studio files)

It seems that either Eclipse 3.5.1 made some backward steps when it comes to installing plug-ins that have dependencies or I haven’t discover some of the available features for installing plug-ins.

6 thoughts on “Installing Flash Builder 4 and Zend Studio 7.1 together on Mac

  1. Hello Mihai Corlan – I am sorry about this but I dont know any other way to contact you. I am very new to Flash Builder & Flex 4.

    I watched your video on “Write Flex and PHP Code using Flash Builder 4”.

    I am ok with the dataGrid_creationCompleteHandler(event:FlexEvent) I get the result correct. But when I change to a button and select criteria from DropDownLists to send as query I cannot get the results to the DataGrid.

    Can you help me in any way – Please?

    Kindest Regards,
    Hugh Mc Bride

  2. Hello,

    I also looked into it and I found out that there is a another way. Which to me looks more official and the way to do it:
    1. Install standalone flash builder
    2. Install the Zend Studio plugins through Help > Install New Software… add the zend update site
    http://downloads.zend.com/studio-eclipse/updates/7_1
    3. Mark the following checkboxes:
    – Feature Patches
    – Zend Studio Features
    Ensure you do not mark the ‘Zend Studio’ checkbox as this will install duplicate components.
    4. After the installation is done restart and everything should be working.

  3. I just tried adding Zend Studio 8 to FB4 and was running into dependency error issues as well. Here’s what I encountered.

    1. Added http://downloads.zend.com/studio-eclipse/updates/8_0 in Help > Install New Software…
    2. Selected Zend Studio Features > Zend Studio CE Feature (and only that one). This installed OK then restarted FB4 as prompted.
    3. Back in Help > Install New Software…, selected Zend Studio Features > Zend Studio Debugger. Installed and restarted again.

    I couldn’t add Feature Patches > Zend Studio Patches Feature, Zend Studio > Zend Studio or Zend Studio Features > Zend Studio Feature

    As a side note, I have rounded off the IDE with Subclipse as per the instructions here – http://blogs.adobe.com/jasonsj/2010/03/installing_subclipse_in_flash_builder_4.html
    and also added Aptana Studio (http://download.aptana.com/tools/studio/plugin/install/studio added via Help > Install New Software…)

    I haven’t done thorough testing yet to check it all out, but everything seems to be there. Hope that’s useful to someone.

  4. We are aware of all these issues and we actually working to find a better solution.

    Mihai

  5. Anything new on this? still having the same exact problem as TheBFG with 8.0.1

    Thank you

Leave a Reply

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