Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Mathematics
General TopicsResearchOperations ResearchStatisticsMathematical LogicNumerical AnalysisUndergraduate MathAlgebra HelpRecreational Math
Math Software
MapleMathematicaMATLABScilabSASSPSS

Math Forum / Math Software / Scilab / October 2008



Tip: Looking for answers? Try searching our database.

Scilab 5.0.1 from Java

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scheiber Ernest - 20 Sep 2008 09:46 GMT
1.   In the files %SCILAB_ROOT%/modules/javasci/examples/Example.bat
and Make.bat the reference %SCILAB_ROOT%/java/jar/modules/javasci.jar
seems to be wrong. The file javasci.jar is in the folder %SCILAB_ROOT%/
modules/javasci/jar.
2.   The file build-commons.xml is missing.
3.   I failed to run any java class, working well in scilab-4.1.2. I
got the error "the native library javasci does not exist or cannot be
found. java.lang.UnsatisfiedLinkError:D:\scilab-5.0.1\bin\Javasci.dll:
A dynamic link library (DLL) initialization routine failed...".
I have no problem to compile the classes.
The system variables PATH and classpath were setted.

Scheiber Ernő
ycollet - 20 Sep 2008 16:06 GMT
Hello,

Maybe you should go to http://bugzilla.scilab.org and fill a bug.

YC
olivier.basile@fpms.ac.be - 22 Sep 2008 13:18 GMT
> 1.   In the files %SCILAB_ROOT%/modules/javasci/examples/Example.bat
> and Make.bat the reference %SCILAB_ROOT%/java/jar/modules/javasci.jar
[quoted text clipped - 9 lines]
>
> Scheiber Ernõ

Hello,

I have observed the same error with scilab 5.01.
Furthermore, I'm interested to know how you have proceeded to run
javasci with scilab-4.1.2 because when I launch my java.jar file, I
get this errror: Exception in thread "main"
java.lang.NoClassDefFoundError ...

I thank you.
Scheiber Ernest - 23 Sep 2008 13:52 GMT
On Sep 22, 3:18 pm, olivier.bas...@fpms.ac.be wrote:

> > 1.   In the files %SCILAB_ROOT%/modules/javasci/examples/Example.bat
> > and Make.bat the reference %SCILAB_ROOT%/java/jar/modules/javasci.jar
[quoted text clipped - 19 lines]
>
> I thank you.

Hi,
1. I wrote the path to scilab-4.1.2\bin in the "PATH" variable
(Windows/Control Panel/System...Environment system variables);
2. The classes of the package javasci are jar-archived  (jar cfv
javasci.jar javasci\*.class);
3. The file javasci.jar is declared in the classpath system variable;
4. Now you must be able to compile and run programs which uses any
javasci class.

If your Java program is jar archived then in the MANIFEST.MF file you
must declare for the attribute name "Class-path:" the path to the
javasci.jar file as its value. In this case, usually, javasci.jar is
included in the archive in a "lib" folder.

Scheiber Ernõ
olivier.basile@fpms.ac.be - 06 Oct 2008 14:03 GMT
> On Sep 22, 3:18 pm, olivier.bas...@fpms.ac.be wrote:
>
[quoted text clipped - 39 lines]
>
> - Afficher le texte des messages précédents -

Dear Sir,

Thank you for the explanations. Now, it works very well on my
computer.
But it is necessary to put scilab directory in first position in path.
Unfortunately, it doesn't work with scilab 5.0.2.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.