Flex 3 Mac OSX install error

January 6, 2009

I had a problem with Flex Builder on OSX 1.5. I had created a flex app that used a flash bridge to communicate with an AS2 swf. That wasn’t the problem the problem I encountered was this.

The Problem:
When I would debug my project ( Flash Player 10 debug version ) it would hang if I included the bridge I created. It would hang if I targeted either the Standalone Flash Player or the Flash Plug-in in Safari.

I did everything including uninstalling Flex Builder. I was getting an error when I ran the installer, but the installer completed and claimed success. The error was a popup that said “An error has occurred. See the log file <path to log file in docs>”.

When I tried to open Flex Builder it showed the same error 

screen-capture1

When I opened the log file I found this error.

“!MESSAGE Featurecom.adobe.flexbuilder.feature.standalone.osx 3.0.214193cannot be found onfile:/Applications/Flex/Adobe Flex Builder 3/com.adobe.flexbuilder.update.site/

or a newer version is already installed.”

As you can see it’s not very descriptive. I kept digging and found some issues online with the Flex Plug-in to Eclipse that were related to the Java version specified in OSX. The issue was with the 64 bit versions of Java and that ended up fixing my problem as well.

 

The Fix:
Change the default Java version in my Java Preferences pane. I did this by opening Java Preferences from my Applications/Utilities folder and changing the order of the Java versions.

Java Preferences

Java Preferences

For me it was as easy as clicking “Restore Defaults”. The key is that you must have a 32-bit version of Java at the top of your lists as that will be the default Java version used unless otherwise specified.

 

Hope this saves at least one of you the headache that I got from this problem.

Power to the code monkeys.

Cheers!

Advertisement

5 Responses to “Flex 3 Mac OSX install error”

  1. Abu Zaher said

    Thanks for the post, it really helped me out.

  2. Argh… stupid 64-bit versions… Thanks a lot! Really saved me some headaches!

  3. George said

    Thanks, hopefully this will solve my problem too. Sigh, Adobe – can you please keep up?

  4. Max said

    Thanks a lot for the enlightenment! ;-)

  5. Renata said

    You just saved my day!
    Thank you very much!

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 )

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

Follow

Get every new post delivered to your Inbox.