[scilab-Users] Scilab: usage of java objects imported from jar files

Jiří Cigler ciglerj at ee.ethz.ch
Wed Mar 23 13:43:47 CET 2011


Hello Sylvestre,
Thank you for the quick answer. I have cloned the current state of git
repository but unfortunately, I had some compilation problems (or
installation problems). 
Enclosed you find the error log, 
Thank you,
Regards,
Jiri 



Sylvestre Ledru píše v St 23. 03. 2011 v 10:02 +0100:

> Hello Jiří,
> 
> Good news: this possible with JIMS:
> http://forge.scilab.org/index.php/p/JIMS/
> 
> Bad news: it does not work yet under Windows (even if the port is
> currently on going). 
> 
> Sylvestre
> 
> 
> Le mardi 22 mars 2011 à 17:12 +0100, Jiří Cigler a écrit :
> > Hello,
> > 
> > I have got a question regarding java support in scilab environment:
> > Is it possible to work with java objects in scilab?
> > Like for instance in matlab:
> > 
> > s= java.lang.String('string')
> > 
> > import org.my.package.class
> > 
> > 
> > Thank you for any help,
> > Regards,
> > Jiri
> > 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110323/416c7ae9/attachment.htm>
-------------- next part --------------
-->exec('builder_src.sce')
 
-->mode(-1);
   Generate a gateway file
   Generate a loader file
   Generate a Makefile
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
   ilib_gen_Make: Copy /home/jirka/Software/JIMS/cpp/wrap.hpp to TMPDIR
 !--error 999 
ilib_gen_Make_unix: Wrong value for input argument #2: existing file(s) expected.at line     128 of function ilib_gen_Make_unix called by :  
at line      50 of function ilib_gen_Make called by :  
at line     100 of function ilib_build called by :  
ilib_build('importjava',sci_gtw,[cpp c jni gateway],[],'','-ljvm',include);
at line      44 of exec file called by :    
exec('builder_src.sce')
 
 

-->ver
 ans  =
 
!Scilab Version:             5.3.1.1299165503                                         !
!                                                                                     !
!Operating System:           Linux 2.6.32-5-686                                       !
!                                                                                     !
!Java version :              1.6.0_18                                                 !
!                                                                                     !
!Java runtime information :  Java(TM) SE Runtime Environment (build 1.6.0_18-b07)     !
!                                                                                     !
!Java vm information :       Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)  !
!                                                                                     !
!Vendor specification:       Sun Microsystems Inc.                                    !


More information about the users mailing list