'scilab is not showing any graphical plot

I am new to scilab. I am trying to do a simple 2d plot but unfortunately it is not plotting anything.

When I open scilab and run plot, it shows a window named 'graphic window number 0' but shows no plot.

when I try to run scilab-bin, it shows following error: scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory

I used sudo apt install scilab.

Should I install more packages?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source