现在的位置: 首页 > 综合 > 正文

Cannot load 32-bit SWT libraries on 64-bit JVM

2012年10月07日 ⁄ 综合 ⁄ 共 485字 ⁄ 字号 评论关闭

If you get this error running Flash Builder or Eclipse on OSX Snow
Leopard, it’s because there’s a mismatch between the libraries bundled
with the plugin involved and the JVM of the OS. To fix, do one of the
following:

1. For Eclipse, go to Eclipse -> Preferences -> Java -> Installed JRE
2. For Flash Builder, go to Flash Builder -> Preferences -> Java -> Installed JREs

Then, edit the selected Java VM, adding the following value for the Default VM Arguments field
-d32

This just forces the JVM to default to the 32-bit version. Once that’s been done, that error message should be no more…

抱歉!评论已关闭.