Unable to compile your Flex projects because OSX says you have the wrong version of Java?
During one of the last Java updates on OSX the 32-Bit runtime was removed. Normally, this wouldn’t cause an issue but Adobe, in their infinite wisdom, decided to manually specify
-d32 when calling the Flex utilities. Thankfully the fix is quite simple; simply remove the
$D32 variable from the call to java in (if you installed Flex SDK with Homebrew)
It should go from looking like this:
After that’s done you can call
amxmlc as before. You’ll have to do the same for other utilities like
I have found no issues with this at all and it appears the call to
-d32 is entirely arbitrary in this case.