Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - Français

Change language to:
English - 日本語 - Português

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

Aide Scilab >> Interface avec Java > 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

The native library javasci2 does not exist or cannot be found even if java.library.path being set

If the error is something like: java.lang.UnsatisfiedLinkError: /path/to/scilab/lib/scilab/libscilab.so.0.0.0: libsciparameters.so.5: cannot open shared object file: No such file or directory, try to set LD_LIBRARY_PATH to the path where Scilab native libraries are.

I try to plot a graphic but the graphic never appears.

Make sure that you called the constructor (Scilab sci = new Scilab(true);) with the boolean value true. It starts Scilab in advanced mode.

I would like to attach a graphic from Javasci to an existing Swing application. I don't know how to do that?

Well. For now, it is not possible out of the box. The feature should be available in a future version of Scilab. As always, contributions are welcome!

I found the current way to manage Scilab graphic windows from javasci pretty hard. What should I do?

This is embarassing. We are aware that the current solution is far from perfect. We hope we will be able to tackle this limitation in a future release.

See Also

Authors

Sylvestre Ledru

<< javasci Interface avec Java javasci v1 limitations >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 12 11:45:02 CEST 2011