Operating System - HP-UX
1833173 Members
2956 Online
110051 Solutions
New Discussion

Problem linking in a RogueWave shared library for a JNI target

 
Giles Clinker
New Member

Problem linking in a RogueWave shared library for a JNI target

I am trying to create a C++ shared library target to load into a JAVA applet and hence use JNI to call the C++ methods. I'm compiling on a 10.20 HPUX machine using aCC. Things appear to work fine until I link in the RogueWave library libthr12d.sl, at which point the JAVA loadLibrary() command throws an exception, stating that the library cannot be found, when I try to load my target shared library. I have included a number of other shared libraries in the target without problem. I have checked the version of the thr12d library and it is 10.20. I would appreciate any assitance anyone could provide.
Is there a fundamental problem with trying to use this thread library in JNI? Also is there a finite size or similar restriction that applies to loading shared libraries in JAVA.