开发环境:win7 64位 Eclipse
运行create-component,报一下错误:
Buildfile: F:\workspace\opensource\apache-obiz\apache-ofbiz-12.04.05\build.xml
create-component: BUILD FAILED
F:\workspace\opensource\apache-obiz\apache-ofbiz-12.04.05\build.xml:1096: java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM Total time: 1 second
解决办法如下:
更改jre,因为系统中也默认安装了32bit的jre,将之切换为64位的jre即可。