SWT plugin missing from 64 bit RCP build

房东的猫 提交于 2019-12-11 19:32:40

问题


I have set up a headless build environment to build our RCP products for windows 32 and 64 bit. My problem is that the 64 bit build is missing the SWT plugin and the application will not start until I manually copy in the SWT plugin.

In the log files this exception can be found:
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError

Looking in the plugin directory of the 64 bit build I found org.eclipse.swt_3.6.2.v3659c.jar which does not contain any class files but only the manifest and some about files. To properly make use of SWT, another plugin must also be present in the plugin directory - org.eclipse.swt.win32.win32.x86_64_3.6.2.v3659c.jar This plugin contains the 64 bit specific code and/or resources. The 32 bit version of this plugin is added to the 32 bit build, but not to the 64 bit. So the question now is - Why not?

来源:https://stackoverflow.com/questions/23979924/swt-plugin-missing-from-64-bit-rcp-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!