开发者

JNA not working on AIX platform

开发者 https://www.devze.com 2023-02-08 02:58 出处:网络
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.l

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!


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号