[Scilab-Dev] Error when compiling and running with javasci in Scilab 6
sampig
chenfeng.zhu at tu-clausthal.de
Sat May 7 02:17:25 CEST 2016
Hello,
When I tried to compile and run javasci in Scilab 6
(https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html),
I was unable to run a simple application in the example. I am sorry that
I have to use the document about 5.5.x instead of 6 because there are no
documents for scilab 6.
I got this *error*:
/------------------
Scilab startup function detected that the function proposed to the
engine is the wrong one. Usually, it comes from a linker problem in your
distribution/OS.//
//Here, Scilab should have 'libscijvm-disable' defined but gets
'libscijvm' instead.//
//If you do not know what it means, please report a bug on
http://bugzilla.scilab.org/. If you do, you probably know that you
should change the link order in SCI/modules/Makefile.am/
*Environment*:
--------------------
Ubuntu 16.04 LTS
Scilab 6 in master branch / Scilab 6.0.0-beta-1
JDK1.8
Eclipse Mars
*HOW TO REPRODUCE THE ISSUE:*
-------------------------------------------------------
*1*. in Scilab 6 of master branch:
/export SCI=/usr/develop/scilab/share/scilab//
//export
LD_LIBRARY_PATH=/usr/develop/scilab/lib/scilab:/usr/develop/scilab/lib/thirdparty//
//javac -cp
$CLASSPATH:$SCI/modules/javasci/jar/org.scilab.modules.javasci.jar:$SCI/modules/types/jar/org.scilab.modules.types.jar
Test.java//
//java -cp
$CLASSPATH:$SCI/modules/javasci/jar/org.scilab.modules.javasci.jar:$SCI/modules/types/jar/org.scilab.modules.types.jar
Test/
*2*. in Scilab 6.0.0-beta-1:
*3*. in eclipse with Scilab 6 of master branch:
Also tried this "Scilab sci = new Scilab();".
If anyone has succeeded doing this, please tell me how.
Thanks very much!
Best wishes,
Chenfeng Zhu
--
var ME = {
"cn_name": "朱辰丰",
"en_name": "Chenfeng Zhu",
"mobile": "(+49) 0176 80827704",
"university": "TU-Clausthal",
"program": "ITIS",
"field": ["JAVA", "Android", "Database", "Data Mining"],
"chat": {"Hangout":"zhuchenf at gmail.com", "IRC":"sampig at chat.freenode.net"}
}
part3.09010403.08020700 at tu-clausthal.de (10K) <http://mailinglists.scilab.org/attachment/4034079/0/part3.09010403.08020700%40tu-clausthal.de>
part4.07030502.06020000 at tu-clausthal.de (70K) <http://mailinglists.scilab.org/attachment/4034079/1/part4.07030502.06020000%40tu-clausthal.de>
part5.01090505.08010804 at tu-clausthal.de (13K) <http://mailinglists.scilab.org/attachment/4034079/2/part5.01090505.08010804%40tu-clausthal.de>
part6.05050609.03070302 at tu-clausthal.de (84K) <http://mailinglists.scilab.org/attachment/4034079/3/part6.05050609.03070302%40tu-clausthal.de>
part7.04000201.04090606 at tu-clausthal.de (30K) <http://mailinglists.scilab.org/attachment/4034079/4/part7.04000201.04090606%40tu-clausthal.de>
part8.01070209.03070602 at tu-clausthal.de (179K) <http://mailinglists.scilab.org/attachment/4034079/5/part8.01070209.03070602%40tu-clausthal.de>
--
View this message in context: http://mailinglists.scilab.org/Error-when-compiling-and-running-with-javasci-in-Scilab-6-tp4034079.html
Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20160506/b568833f/attachment.htm>
More information about the dev
mailing list