This content has been marked as final. Show 3 replies
The problem is solved. I copied all the .properties files into the .jar file.
How do you get JEasyOPC working in Netbeans. I'm trying to use it as well but I keep getting the message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ./lib/JCustomOpc in java.library.path
Not sure if I'm missing something
You can pass the jvm by command line arugment to point the library path for jeasy opc's native library.
Assume jeasy opc's library on Windows platform, file location is F:\someLibs\jeasyopc\JCustomOpc.dll.
Before launching your programme, you pass the argument like below
[+jre directory+]/bin/java.exe -Djava.library.path=F:\someLibs\jeasyopc\JCustomOpc.dll [+YourMainClass+]