In the java application I am developing I need to use some of the functionality of SCILAB (with java interface javasci) along with jReality. Whenever I add the jReality project to the SCILAB javasci project in Eclipse, I get the following error (in SCILAB project).
Code: Select all
The native library javasci does not exist or cannot be found.
java.lang.UnsatisfiedLinkError: no javasci in java.library.path
Here is the set up in Eclipse Indigo service release 2, on a Windows XP machine.
1. Set up jReality project (as indicated on the jReality web site).
2. Download and Install SCILAB 5.4.0 alpha 1 (nightly build) anywhere on windows machine.
3. Create an empty java project for SCILAB (in the same workspace as the jReality project) in Eclipse.
4. Set up javasci:
4a. Create "SCI" environment variable indicating the installation folder of SCILAB.
4b. Add the following jar files to "classpath":
org.scilab.modules.javasci.jar (in SciLab\modules\javasci\jar)
org.scilab.modules.types.jar (in SciLab\modules\types\jar)
4c. Add the SciLab\bin path to "path" variable.
The Example1.java (in SciLab\modules\javasci\examples\v2 can be used for testing) can be used for testing purposes.
Please let me know how I can fix this problem as this is very important for my application development.
Thank you!
Regards,
Karuna