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

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…

posted @ 2011-08-18 12:34  一根骨头棒子*熬的汤  阅读(3479)  评论(0编辑  收藏  举报