改过 LD_LIBRARY_PATH

改过 /etc/ld.so.conf

参考这篇文章 http://blog.csdn.net/zjuylok/article/details/4152559

最后都不好使,最后一句话指点迷津

But if I comment the line that sets the java.library.path and call the program with the command java -Djava.library.path=. HelloWorld works.

这句话意思是说要加一个java参数,正好我调用也是用java参数调用的 前面有-Djava.ext.dirs=./lib 可能与这个library冲突了。

相关文章:

  • 2021-10-28
  • 2022-12-23
  • 2021-09-16
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-06-23
  • 2021-06-10
相关资源
相似解决方案