<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
<div class="moz-forward-container">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hello,<br>
<br>
When I tried to compile and run javasci in Scilab 6 (<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html" target="_top" rel="nofollow" link="external"><a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html" target="_top" rel="nofollow" link="external">https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html</a></a>),
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.<br>
<br>
<br>
I got this <big><b>error</b></big>:<br>
<big><i>------------------<br>
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.</i><i><br>
</i><i>Here, Scilab should have 'libscijvm-disable' defined but
gets 'libscijvm' instead.</i><i><br>
</i><i>If you do not know what it means, please report a bug on
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://bugzilla.scilab.org/" target="_top" rel="nofollow" link="external">http://bugzilla.scilab.org/</a>.
If you do, you probably know that you should change the link
order in SCI/modules/Makefile.am</i></big><br>
<br>
<br>
<b>Environment</b>:<br>
--------------------<br>
Ubuntu 16.04 LTS<br>
Scilab 6 in master branch / Scilab 6.0.0-beta-1<br>
JDK1.8<br>
Eclipse Mars<br>
<br>
<br>
<big><b>HOW TO REPRODUCE THE ISSUE:</b></big><small> </small><br>
-------------------------------------------------------<br>
<b>1</b>. in Scilab 6 of master branch:<br>
<i>export SCI=/usr/develop/scilab/share/scilab</i><i><br>
</i><i>export
LD_LIBRARY_PATH=/usr/develop/scilab/lib/scilab:/usr/develop/scilab/lib/thirdparty</i><i><br>
</i><i>javac -cp
$CLASSPATH:$SCI/modules/javasci/jar/org.scilab.modules.javasci.jar:$SCI/modules/types/jar/org.scilab.modules.types.jar
Test.java</i><i><br>
</i><i>java -cp
$CLASSPATH:$SCI/modules/javasci/jar/org.scilab.modules.javasci.jar:$SCI/modules/types/jar/org.scilab.modules.types.jar
Test</i><br>
<img src="http://mailinglists.scilab.org/attachment/4034079/0/part3.09010403.08020700%40tu-clausthal.de" alt=""><br>
<img src="http://mailinglists.scilab.org/attachment/4034079/1/part4.07030502.06020000%40tu-clausthal.de" alt=""><br>
<br>
<b>2</b>. in Scilab 6.0.0-beta-1:<br>
<img src="http://mailinglists.scilab.org/attachment/4034079/2/part5.01090505.08010804%40tu-clausthal.de" alt=""><br>
<img src="http://mailinglists.scilab.org/attachment/4034079/3/part6.05050609.03070302%40tu-clausthal.de" alt=""><br>
<br>
<b>3</b>. in eclipse with Scilab 6 of master branch:<br>
<img src="http://mailinglists.scilab.org/attachment/4034079/4/part7.04000201.04090606%40tu-clausthal.de" alt=""><br>
<img src="http://mailinglists.scilab.org/attachment/4034079/5/part8.01070209.03070602%40tu-clausthal.de" alt=""><br>
Also tried this "Scilab sci = new Scilab();".<br>
<br>
If anyone has succeeded doing this, please tell me how.<br>
<br>
Thanks very much!<br>
<br>
<br>
Best wishes,<br>
Chenfeng Zhu<br>
<pre class="moz-signature" cols="72">--
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": <a href="/user/SendEmail.jtp?type=node&node=4034079&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>, "IRC": <a href="/user/SendEmail.jtp?type=node&node=4034079&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>}
}</pre>
<br>
</div>
<br>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/Error-when-compiling-and-running-with-javasci-in-Scilab-6-tp4034079.html">Error when compiling and running with javasci in Scilab 6</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-developers-Mailing-Lists-Archives-f2574944.html">Scilab developers - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>