I\'m using PDE to run a Processing sketch, and I get the following error:
Verify that the
java.library.pathproperty is correctly
You can set it on the command line thus:
java -Djava.library.path=...
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:
In Eclipse, I did this to get OpenCV working:
Add this in the VM arguments field:
-Djava.library.path="/path/to/OpenCV/library"
Your library.path is fine, what you need to do is to drop prefix lib and suffix .so from your System.loadLibrary( "..." ). On Linux or "linux-android" those will be automatically added by JVM.