JNA 无法在 AIX 平台上工作
JNA 在 Windows 方面工作得很好。但是,当我将其移植到 AIX 并尝试运行 Java 程序时,我收到“线程“AWT-EventQueue-0”中的异常”java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/利布尼迪斯 patch.a)在资源路径中找不到”错误。
我打开jna.jar文件看资源,确实/com/sun/jna/中没有aix-ppc目录。
有谁知道如何添加在 AIX 平台的资源中或者在哪里可以找到必要的文档?项目已经引用了该 jar,并且我已将所有必要的库打包到可运行的 jar 文件中,
谢谢!
JNA is working just fine on the Windows side of things. However, when I port it over to AIX and attempt to run my Java program, I get a "Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc/libjnidis
patch.a) not found in resource path" error.
I opened up the jna.jar file to look at the resources, and indeed there is no aix-ppc directory in /com/sun/jna/.
Does anyone know how to add in the resources for the AIX platform or where I can find the necessary documentation for this? The jar is already referenced by the project, and I have Eclipse packaging all the necessary libraries into the runnable jar file.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚为 AIX-PPC 和 AIX-PPC64 移植了 JNA
它已提交给 JNA 作者 (twal) 审核和批准。
同时,登录 http://github.com/SitChenNam/jna
并下载/dist/jna.jar。
如果它对你有用请告诉我
I have just ported JNA for AIX-PPC and AIX-PPC64
It has been submitted to JNA author (twal) for review and approval.
Meanwhile, login http://github.com/SitChenNam/jna
and downlaod the /dist/jna.jar.
keep me informed if it works for you
我假设您可以获取源代码并必须自己编译它。希望 AIX 在这些方面与 Linux 没有太大不同。
I assume you can take the source and have to compile it for yourself. Hopefully AIX is not much different from Linux in these aspects.