[scilab-Users] scilab and GL2PS from Java

Sylvestre Ledru sylvestre.ledru at scilab.org
Thu Apr 16 15:44:13 CEST 2009


Hello,


> I am trying to use a jar form scilab into a Windows Java application,
> but have integration issues.
> I added org.scilab.modules.graphic_export.jar into one of my Eclipse
> projects. To be able to use its classes, I had to modify the
> environment variable PATH and add the scilab bin dir. Until now, all
> was ok.
> Now I want to get rid of this update by setting java.library.path
> instead (by adding VM arguments from the Eclipse execution parameters
> tab) with what I appended into the PATH. This had to work, but I am
> getting this error:
> The native library scigraphic_export does not exist or cannot be found.
> java.lang.UnsatisfiedLinkError: C:\Program
> Files\scilab-5.1\bin\scigraphic_export.dll: Can't find dependent
> libraries
> 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[...]

> What's wrong with these dependencies resolution?
That means it needs the library libscigraphic_export.so to be available
in the java.ld.library.path.
(it contains the jni functions).

Can I ask what are you trying to do ?

Sylvestre





More information about the users mailing list