Before anyone states duplicate. Please be aware that other questions are windows based and complain about DLLs or are not related to this library.
I have downloaded the EOCFI JAVA API from ESA which I would like to use. These include some example .java files.
I'm simply loading their entire API directory, adding the external JARs, and trying to run their examples. But I run into the following error:
java.lang.UnsatisfiedLinkError: no JCfiLib in java.library.path
I can't seem to find JCfiLib
anywhere in the API or on the internet. I would imagine if I could I would simply add it to the java library path as the error states, but I have no idea what it is or where I can get it.
How can I get around this error?
I'm using eclipse on Debian Wheezy.
Any help would be greatly appreciated. Please be patient I'm not a Java programmer.
UPDATE (more details)
I realize now JCfiLib stands for "Java CFI Library" it's the library i'm using. But when I download it it's made up of 7 separate .jar
files. (Visibility.jar, Pointing.jar, etc...) I reference them all as external jars.
The line it throws an error on is modelId = new ModelId();
(VisibilityExample.java:221)
error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no JCfiLib in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at EECFI.CfiId.<clinit>(CfiId.java:22)
at Visibility.example.VisibilityExample.main(VisibilityExample.java:211)