简体   繁体   中英

JNA not working on AIX platform

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM