Java Problem “UnsatisfiedLinkError”

前端 未结 5 947
遥遥无期
遥遥无期 2020-12-11 13:38

I made a simple java program that sends bytes to the parallel port, which uses a .dll along with two other classes (pPort.java and ioPort.java) to accomplish it, and it work

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 14:01

    I don't do Netbeans, but it sounds like that Netbeans maintains its own java.library.path. Best what you could try is to specify it yourself as VM argument:

    -Djava.library.path="c:/path/to/dll/files"
    

提交回复
热议问题