MXMLC和64位JRE [英] MXMLC and 64bit JRE

查看:178
本文介绍了MXMLC和64位JRE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何的解决办法让Flex编译器与64位JRE工作?如果我在Eclipse的Ant构建使用MXMLC任务,它工作正常,但如果我尝试使用MXMLC命令行(或尝试从FDT在Eclipse中运行...命令)失败,告诉我...

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 from the command line (or try the Run... command from FDT in Eclipse) it fails, telling me ...

错误加载:C:\ Program Files文件\的Java \ jrrt-1.6.0 \ JRE \ BIN \ JRockit的\ jvm.dll的

"Error loading: C:\Program Files\Java\jrrt-1.6.0\jre\bin\jrockit\jvm.dll"

(这是一个64位的JRockit运行但不应该的问题)。

(this is with a 64bit JRockit runtime but that shouldn't matter).

推荐答案

目前使用Flex编译器与64位JRE不支持。相反,让编译器使用32位JRE。

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

要做到这一点,你需要编辑位于FLEX_HOME \ bin中的jvm.config文件。在jvm.config,设置 java.home 来32位JRE的位置。如果你不已经有一个32位的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.

例如:

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

如果你喜欢这个答案,请单击向上箭头向左。

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

这篇关于MXMLC和64位JRE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆