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!

Welcome

January 6, 2009

Welcome! I’m looking forward to what this blog will become, not sure what that will be. I hope you find it useful or at least interesting. I value your comments so don’t be shy!

Follow

Get every new post delivered to your Inbox.