且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Netbeans/java:无法找到或加载主类库

更新时间:2023-11-20 09:54:04

而解决方案位于VM Options中.我已经添加了VM Option -Djava library path="/usr/lib/jni/"来使librxtx-java正常工作(根据这篇文章 ).删除此VM选项解决了我的问题.我尚未测试我是否仍然可以连接到串行设备(这是我使用librxtx-java的原因),因为我的串口设备不在这里.

And the solution lays in a VM Options. I already added the VM Option -Djava library path="/usr/lib/jni/" to make librxtx-java work (according to this post). Removing this VM Options fixed my problem. I haven't tested if I still can connect to my serial device (the reason why I'm using librxtx-java) because I don't have my serial device over here.