English English Spanish EspañolKorea한국어
Straker»Company»Blog»2007» Flex Compiler Segmentation Error on Linux

Flex Compiler Segmentation Error on Linux

This has come up a couple of times so thought we had better blog about it. When using the ZoomFlex integrated compiler on Linux, depending on the Linux version you can get an error in the compiler mentioning a segmentaion fault.  Here are the steps to fix the error:

You need to download the the full Java JDK and install it on the linux machine.

Open shadomx/util/flex/sdk/bin/mxmlc with a text editor

Change the last line from  

java $VMARGS -jar $FLEX_HOME/lib/mxmlc.jar $*

To 

[path to jdk]/java $VMARGS -jar $FLEX_HOME/lib/mxmlc.jar $* 

So something like

/opt/jdk/jre/bin/java $VMARGS -jar $FLEX_HOME/lib/mxmlc.jar $*

 

 


Comments

Add a comment

brilliant - solved the problem that was driving me nuts

thanks

# Posted by: larry mahony | 12 Apr 2008 | 08:19 PM

Add Comment