I'm using PDE to run a Processing sketch, and I get the following error:
Verify that the
java.library.path
property is correctly set.
Could anyone of you tell me how to solve this problem?
You can set it on the command line thus:
java -Djava.library.path=... <existing arguments (classpath, name of class to run etc.)>
and point it to the directory containing the relevant library.
Before System.loadLibrary("")
, use the following code to check you java.library.path
System.out.println(System.getProperty("java.library.path"));
Generally, the java.library.path
=/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
Provides several options for:
$ sudo cp libxxx.so /usr/lib/jni
java -Djava.library.path=_path of so_ xxx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With