Using skype-java-api on a x64 system

穿精又带淫゛_ 提交于 2019-12-24 05:47:21

问题


I'm using skype-java-api to use skype in Java. The only feature that i need is to dial phone numbers on click. It works fine on windows XP x86, but i just tested it on a Windows 7 x64, and it fails. The error is:
Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: C:\Users\Vazdautan\AppData\Local\Temp\skype.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
Are there any other cross-platform alternatives(for MAC and Windows) or is it possible to solve it somehow ?

Thanks, Andrew.


回答1:


You can run a 32-bit JVM on a 64-bit OS.

If you want to run a 64-bit JVM, you can use this to run a 32-bit JVM either as a service or on an ad-hoc basis.e.g. With Runtime.exec()

Or Skype provide a 64-bit DLL in which case I would just use that.



来源:https://stackoverflow.com/questions/9621785/using-skype-java-api-on-a-x64-system

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