Andrew Lotito(deleted)
|
JNI Interactions on QNX with SWIG generated source code
|
Andrew Lotito(deleted)
11/21/2014 10:29 AM
post112407
|
JNI Interactions on QNX with SWIG generated source code
Good day,
I'm currently experiencing an issue finding native methods with my JNI jar file and QNX compiled libraries where the
related native methods were generated by SWIG. When I run the JNI jar and make a native method call to the library, I
get an error claiming it couldn't find the method. I know I've loaded the library without error before making the call,
and that the method names for both the Java native methods and the C library methods are correct. I have tested the
libraries and the JNI on Linux and Windows, and had no issues finding the method. I have also created another example
QNX compiled Library and JNI jar that used JNIEXPORT instead of SWIGEXPORT and had no issues there. I was curious if
anyone else has had any issues between SWIG, JNI, and QNX? I'm using Java 5 and QNX 6.4.1. Thank you for your time.
Best Regards,
Andrew
|
|
|