开发者

Unsatisfed LinkError in java?

开发者 https://www.devze.com 2023-01-15 04:12 出处:网络
I am running jython to connect to Bladelogic managers for which i need to connect to it. When i try to do it. It says following Error:

I am running jython to connect to Bladelogic managers for which i need to connect to it. When i try to do it. It says following Error:

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: no XJNIService in 开发者_运维问答java.library.path.

Can you please help me to resolve this issue.

Regards Gnash-85


Some class you are using requires native libraries and the JVM cant find them. You need to set LD_LIBRARY_PATH on linux/unix or start with the property -Djava.library.path=PATH to where the libraries are located (the later works on both linux and windows).

For example: "LD_LIBRARY_PATH=/my/libs java -cp foo jython.repl"

There should be a flag you can pass to the jvm to output diagnostic info regarding jni loads.

0

精彩评论

暂无评论...
验证码 换一张
取 消