[英]Swing DJnative Swing Example in java
I have java Swing Dj Native application and i tried to run it in ubuntu and its Running but when i tried same in windows 64 bit its giving error so what error is that can any body suggest me solution? 我有Java Swing Dj本机应用程序,我尝试在ubuntu中运行它,并在“运行中”运行,但是当我在Windows 64位中尝试相同的操作时,它给出了错误,那么什么错误是可以向我建议的解决方案?
Error log in windows. Windows中的错误登录。
NativeSwing[1]: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
NativeSwing[1]: no swt-gtk-4332 in java.library.path
NativeSwing[1]: no swt-gtk in java.library.path
What error is this? 这是什么错误? how to resolve it?
怎么解决呢?
The Windows version of SWT is named swt-win32
(even on 64-bit platforms). Windows版本的SWT名为
swt-win32
(即使在64位平台上也是如此)。
So, you have to change the classpath to point to the correct name for SWT on the platform you're using. 因此,您必须更改类路径以指向所使用平台上SWT的正确名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.