Starting mxmlc on the latest mac exits with error message:
Error: This Java instance does not support a 32-bit JVM. Please install the desired version.
How to fix?
The latest java update for mac removed the 32bit mode and thus doesn't offer the -d32. There are various solutions for this problem:
The mxmlc file is a "regular text file" that can be edited with any editor. vim should do the job. The easy fix is to just "comment" the "-d32" part out like this:
# if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then # D32='-d32' # fi
The problem seems to be gone with the Flex 4.8 SDK
1.) Remove the old java http://www.java.com/en/download/help/mac_uninstall_java.xml 2.) Install the older version by typing "java --version" in the command line
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With