[scilab-Users] API Mode

Sylvestre Ledru sylvestre.ledru at scilab.org
Tue Jun 16 12:14:41 CEST 2009


Le mardi 16 juin 2009 à 03:08 -0700, Setumadhav Kulkarni a écrit :
> Thanks Sylvestre!
> 
>  
> 
> The way I was approaching it is as follows:
> 
>  
> 
> 1.    I just imported all the Java files (in Eclipse) from the
> examples in: \scilab-5.1.1\modules\javasci\examples\others\
> 
> 2.    I added the javasci.jar to the build path of the project. 

2.1 Set the SCI variable to the Scilab path (data)
2.2 Set the LD_LIBRARY_PATH or PATH to the directory containing Scilab
native libraries (ie, .so, .jnilib or .dll).
2.3 Set the LD_LIBRARY_PATH or PATH to the directory containing Java
native libraries (usually, libjava, libjvm and libhpi)

Check the help of "Compile and run with javasci" of a Scilab nightly
build for the actual path under Windows.

> 3.    I am thinking of compiling and running the Example1.java and
> hoping that it will make a call to the Scilab engine. I understand
> that there will be some JNI calls underneath this, to make calls to
> the native library that has the engine code.

S





More information about the users mailing list