MXMLC and 64bit JRE

后端 未结 2 520
南笙
南笙 2020-12-08 01:16

Are there any workarounds to get the Flex compiler to work with a 64bit JRE? If I use an MXMLC task in an Ant buildfile in Eclipse it works fine but if I try to use MXMLC fr

2条回答
  •  太阳男子
    2020-12-08 01:31

    There is currently no support for using the Flex compiler with the 64 bit JRE. Instead, have the compiler use a 32 bit JRE.

    To do so, you'll need to edit the jvm.config file located in FLEX_HOME\bin. Within jvm.config, set java.home to the location of a 32bit JRE. If you don't already have a 32bit JRE, download it.

    Example:

    java.home=C:/Program Files (x86)/Java/jre6
    

    If you like this answer, please click the up arrow to the left.

提交回复
热议问题