Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

load ENOEXEC on shared library(s) on aix

843829Oct 2 2003 — edited Oct 30 2003
Hi
I'm working on AIX 64 bit mode (and all the code is compile in 64 bit mode).
when I'm trying to run my JNI tester, I get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: ${LIBPATH}/libapi.so: load ENOEXEC on shared library(s) ${LIBPATH}/libapi.so
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1996)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1882)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:884)
at at [com ...]JavaAPI.<clinit>(JavaAPI.java:39).null(Unknown Source)
at Tester.main(Tester.java:62)

following recommendations from this forum (July 2002) I made sure the shared library is executable, and it is.

this program works on hp machine (also 64 bit mode).
does anyone have any ideas on how to solve this?

tnx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2003
Added on Oct 2 2003
3 comments
639 views