Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> Java Interface > javasci FAQ

javasci FAQ

The frequently asked questions for Javasci v2

Questions / Answers

Running an application based on javasci, I get the error Exception in thread "main" java.lang.NoClassDefFoundError: org/scilab/modules/javasci/Scilab

org.scilab.modules.javasci.jar is probably not defined in the CLASSPATH. See Compile and run with javasci

The native library javasci2 does not exist or cannot be found.

java.library.path has not been set or cannot be found. Compile and run with javasci

See Also

Authors

Sylvestre Ledru

Comments

Author : IVAN LONDOÑO posted the 28/08/2014 07:25
I try to run the javasci example on my computer(windows 8.1 or w7),and doesn't work with cmd,the version 5.5.0 and 5.4.1. can anybody help me?The exception is:

The native library javasci does not exist or cannot be found.
java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\scilab-5.4.1\bin\javasci.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.scilab.modules.javasci.Call_ScilabJNI.(Unknown Source)
at org.scilab.modules.javasci.Call_Scilab.SetFromJavaToON(Unknown Source)
at org.scilab.modules.javasci.Scilab.initScilab(Unknown Source)
at org.scilab.modules.javasci.Scilab.(Unknown Source)
at org.scilab.modules.javasci.Scilab.(Unknown Source)
at scilabjavaexample.ScilabJavaExample.main(ScilabJavaExample.java:24)
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.scilab.modules.javasci.Call_ScilabJNI.SetFromJavaToON()V
at org.scilab.modules.javasci.Call_ScilabJNI.SetFromJavaToON(Native Method)
at org.scilab.modules.javasci.Call_Scilab.SetFromJavaToON(Unknown Source)
at org.scilab.modules.javasci.Scilab.initScilab(Unknown Source)
at org.scilab.modules.javasci.Scilab.(Unknown Source)
at org.scilab.modules.javasci.Scilab.(Unknown Source)
at scilabjavaexample.ScilabJavaExample.main(ScilabJavaExample.java:24)
Reply to this comment
Please login to comment this page
Author : Sayyed Ali Hossayni posted the 31/08/2014 15:49
I had the similar problem, but it was solved by running the codes in NetBeans.
Reply to this comment
Please login to comment this page
Author : IVAN LONDOÑO SILVA posted the 02/09/2014 01:28
Can you explain me, please, How did you do it? and sent me and example to my email in netbeans??
thanks a lot.

PD:ivan.londono@misena.edu.co
Reply to this comment
Please login to comment this page

Author : IVAN LONDOÑO SILVA posted the 02/09/2014 04:52
Can you explain me, please, How did you do it? and sent me and example to my email in netbeans??
thanks a lot.

PD:ivan.londono@misena.edu.co
Reply to this comment
Please login to comment this page




See comments in other languages: Русский: 1 comment(s)

Add a comment:
Please login to comment this page.

<< javasci Java Interface javasci v1 limitations >>

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:23:48 CET 2011