Check the names of your native methods in .java, .h and .cxx files
Are they the same (with respect to JNI requirements)?
Jacob Nikom
Raj Patel wrote:
>
> Hi everybody,
> I am having trouble linking/loading *.so
> objects that are used by my C++ code. Does anybody k
Burkhart,Kelly wrote:
> When you create the shared library with your JNI call do you link it with
> the shared libraries it requires?
>
> Say you have libmyroutine.so and you are trying to create libmyjni.so:
>
> g++ --shared ... -o libmyjni.so -L/appropriate/path -lmyroutine
>
> Now when you ldd
When you create the shared library with your JNI call do you link it with
the shared libraries it requires?
Say you have libmyroutine.so and you are trying to create libmyjni.so:
g++ --shared ... -o libmyjni.so -L/appropriate/path -lmyroutine
Now when you ldd libmyjni.so it should show a depend