Posted By:
Naresh_Agarwal
Posted On:
Monday, September 22, 2003 04:28 AM
Hi I have written a Java program, which uses JNI to talks to C apis. This program works well on Windows, Solaris, HP-UX, Linux but fails on AIX. When I tries to run the Java sample program on AIX (v 5.1) I'm getting an error (Illegal Insruction - core dumped) on AIX when my java program tries to load the JNI shared library. Part of the error I'm getting is as follows: ----------------- Sun Sep 21 23:52:30 2003 SIGILL received at 0xd058efec in /usr/lib/libC.a. Processing terminated. Current Thread Details ---------------------- "main" sys_thread_t:0x3020E708 ----- Native Stack ----- at 0xD0219BD8 in q
More>>
Hi
I have written a Java program, which uses JNI to talks to C apis.
This program works well on Windows, Solaris, HP-UX, Linux but fails on AIX.
When I tries to run the Java sample program on AIX (v 5.1)
I'm getting an error (Illegal Insruction - core dumped) on AIX when my java program tries to load the JNI shared library.
Part of the error I'm getting is as follows:
-----------------
Sun Sep 21 23:52:30 2003
SIGILL received at 0xd058efec in /usr/lib/libC.a. Processing terminated.
Current Thread Details
----------------------
"main" sys_thread_t:0x3020E708
----- Native Stack -----
at 0xD0219BD8 in qs1
at 0xD029E724 in dlopen
at 0xD48CDB9C in sysLoadLibrary
at 0xD475D74C in JVM_LoadLibrary
at 0xD4750298 in IBMJVM_LoadLibrary
at 0xD3DD0F5C in Java_java_lang_ClassLoader_00024NativeLibrary_load
----------------
Could you please tell me what is going wrong here?
thanks,
Naresh
<<Less