Archive for 2010/01


Solution to Error Running mxmlc.exe with Windows 64bit JVM

When attempting to run mxmlc.exe from the Flex 3 SDK:
Error loading: C:\Program Files\Java\jdk1.6.0_17\jre\bin\server\jvm.dll
To solve this error I created a new batch file in the FLEX3_HOME/bin directory and named it mxmlc64bit.bat with the following one line:
 ”%JAVA_HOME%\bin\java.exe” -Xmx384m -Dsun.io.useCanonCaches=false -jar “%~dp0\..\lib\mxmlc.jar” +flexlib=”%~dp0\..\frameworks” %*
 This bascially executes java to load the mxmlc.jar directly similar to what the linux script does […]