View Single Post

   
  #1 (permalink)  
Old 01-04-2008, 09:13 PM
Naresh Agarwal
 
Posts: n/a
Default Problem in loading JNI shared library on AIX

Hi

I have developed a Java program, which uses JNI to talk to native C
APIs.

This program is working well on Windows, Solaris, HP-UX and Linux.

However, when I try to run this on AIX, I'm getting an error (Illegal
Insruction - core dumped).

This error occurs when the Java program tries to load the JNI shared
library.


Part of the error 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
----------------


Has any one encountered this before?

thanks,
Naresh
Reply With Quote