阅读背景:

如何调试linux中的java system.loadlibrary错误?

来源:互联网 

I have a Java program that is calling C code through JNI that I'm attempting to run on Linux. The external code consists of two .so files: one for the JNI bindings (built with swig) and the other with the actual functions. I have the two libraries in the same directory and LD_LIBRARY_PATH is set correctly. ldd reports no problems when running from the command line, but when I set the LD_LIBRARY_PATH to the same value in the "run configurations" dialog in the Eclipse editor and attempt to execute the program, it gets the following error:I have a Java program that is calling C code th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: