gpt4 book ai didi

java - AMD 64 位平台上的 JNIConnector.dll : Can't load IA 32-bit . dll Skype4java

转载 作者:行者123 更新时间:2023-11-29 08:54:44 25 4
gpt4 key购买 nike

<分区>

好的,所以我在 netbeans 中使用 skype4java api。我已将 .jar 添加到项目中。这样做之后,我尝试获取我的 Skype 的当前版本。

package skype_tool;

import com.skype.Skype;
import com.skype.SkypeException;

/**
*
* @author EmorpheusXXL
*/
public class Skype_tool {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try{
System.out.println(Skype.getVersion());
}
catch(SkypeException e){
System.out.println(e.getMessage());

}
}

public static void print(Object value){
System.out.print(value);
}
}

当我运行它时,出现了这些错误。

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\EmorpheusXXL\AppData\Local\Temp\JNIConnector.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1061) at com.skype.connector.win32.Win32Connector.initialize(Win32Connector.java:93) at com.skype.connector.Connector.connect(Connector.java:328) at com.skype.connector.Connector.assureAttached(Connector.java:578) at com.skype.connector.Connector.execute(Connector.java:509) at com.skype.connector.Connector.execute(Connector.java:481) at com.skype.Utils.getProperty(Utils.java:132) at com.skype.Skype.getVersion(Skype.java:126) at skype_tool.Skype_tool.main(Skype_tool.java:21) Java Result: 1

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com