Windows 64 位上的 SWT [英] SWT on Windows 64-bit
问题描述
我的应用程序抛出以下异常.
My application throws the exception below.
线程main"中的异常java.lang.UnsatisfiedLinkError:不能在 64 位上加载 32 位 SW T 库JVM.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SW T libraries on 64-bit JVM.
如何解决这个问题?需要的jar文件名是什么?
How to solve this? What is the name of jar file needed?
推荐答案
在 64 位 JVM 上,您需要 64 位 SWT.当前版本可以在这里下载:
On 64-bit JVM's you need the 64-bit SWT. Current versions can be downloaded here:
http://archive.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php#SWT
注意前两个下载,第一个是 x32,另一个是 x64.
Note the first two downloads, the first is for x32, the other for x64.
注意:即使在 64 位 Windows 上,如果您使用 32 位 JVM,您仍然需要 32 位 SWT 版本!
Note: Even on 64bit Windows, if you use the 32bit JVM, you still need the 32bit SWT version!
这篇关于Windows 64 位上的 SWT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!