[英]Exception in thread “main” java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3139 in java.library.path
I am making simple java Desktop application using eclipse in Linux. 我正在使用Linux中的Eclipse制作简单的Java桌面应用程序。 I have added all required libraries in to my class path. 我已将所有必需的库添加到我的类路径中。 but I still getting this error when I run this. 但是运行此程序时仍然出现此错误。
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3139 in java.library.path
I was trying to find an answer through Internet but still I can not. 我试图通过Internet找到答案,但仍然无法找到答案。 Can anybody help me. 有谁能够帮助我。 I am using SWT designer to implement. 我正在使用SWT设计器来实现。
I had this kind of error too. 我也有这种错误。 Eclipse-based IDE, LPCXpresso, doesn't launch because of SWT library not loaded 由于未加载SWT库,基于Eclipse的IDE LPCXpresso无法启动
The versions of Eclipse, Java, and GTK+2 all have to be 32-bit or 64-bit together Eclipse,Java和GTK + 2的版本必须全部为32位或64位
Google is your friend (second hit when searching for "swt-pi-gtk-3139"): http://blog.headius.com/2006/04/eclipse-unsatisfiedlinkerror-libswt-pi.html . Google是您的朋友(搜索“ swt-pi-gtk-3139”时排名第二): http : //blog.headius.com/2006/04/eclipse-unsatisfiedlinkerror-libswt-pi.html 。
From the error alone it is apparent that a function or class cannot be found and that you therefore are missing libraries or are using the wrong ones. 仅从错误来看,很明显找不到函数或类,因此您缺少库或使用了错误的库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.