Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何在ubuntu 14.04上的netbeans上设置本机库(.so)_Java_Linux_Ubuntu_Netbeans - Fatal编程技术网

Java 如何在ubuntu 14.04上的netbeans上设置本机库(.so)

Java 如何在ubuntu 14.04上的netbeans上设置本机库(.so),java,linux,ubuntu,netbeans,Java,Linux,Ubuntu,Netbeans,正如标题所说。。 如何在Ubuntu 14.04的Netbeans上设置本机库(.so) 我知道在Netbeans Windows上我会去: 项目属性>运行>虚拟机选项: 并设置: -Djava.library.path="C: and the path of the dll file" 现在我的问题是: 我应该使用什么来代替下面的行: -Djava.library.path="C and the path of the dll file". LD_LIBRARY_PATH="/home/p

正如标题所说。。 如何在Ubuntu 14.04的Netbeans上设置本机库(.so)

我知道在Netbeans Windows上我会去:
项目属性>运行>虚拟机选项:
并设置:

-Djava.library.path="C: and the path of the dll file"
现在我的问题是:
我应该使用什么来代替下面的行:

-Djava.library.path="C and the path of the dll file".
LD_LIBRARY_PATH="/home/pathof.."
在Linux Ubuntu 14.04上的Netbeans中

我的尝试:
我尝试使用以下行:

-Djava.library.path="C and the path of the dll file".
LD_LIBRARY_PATH="/home/pathof.."
但它不起作用。我得到了以下结果:

错误:无法找到或加载主类LD_LIBRARY_PATH=.home.maha.Desktop.ard


谢谢你

你用apt get install在ubuntu中安装netbeans了吗?我不记得了,但我可能会这么做。为什么?它实际上负责所有的配置和设置这有什么关系?你是说我所做的完全正确,但Netbeans有问题吗?检查我发布的错误